1
0
forked from mirror/misskey

refactor(ApNoteService.ts): eslint-disable-next-line

This commit is contained in:
okayurisotto 2023-07-02 13:38:29 +09:00
parent b203dab852
commit acce210f7d

View File

@ -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);