mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-12 01:01:25 +09:00
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