forked from mirror/misskey
refactor(ApNoteService.ts
): eslint-disable-next-line
This commit is contained in:
parent
b203dab852
commit
acce210f7d
@ -105,6 +105,7 @@ export class ApNoteService {
|
||||
*/
|
||||
@bindThis
|
||||
public async createNote(value: string | IObject, resolver?: Resolver, silent = false): Promise<Note | null> {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
if (resolver == null) resolver = this.apResolverService.createResolver();
|
||||
|
||||
const object = await resolver.resolve(value);
|
||||
|
Loading…
Reference in New Issue
Block a user