fix: lint
This commit is contained in:
parent
0da4717983
commit
d05848790c
2 changed files with 0 additions and 3 deletions
|
@ -211,7 +211,6 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||
createdAt: MiUser['createdAt'];
|
||||
isBot: MiUser['isBot'];
|
||||
}, editid: MiNote['id'], data: Option, silent = false): Promise<MiNote> {
|
||||
|
||||
if (!editid) {
|
||||
throw new Error('fail');
|
||||
}
|
||||
|
@ -447,7 +446,6 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||
createdAt: MiUser['createdAt'];
|
||||
isBot: MiUser['isBot'];
|
||||
}, data: Option, silent: boolean, tags: string[], mentionedUsers: MinimumUser[]) {
|
||||
|
||||
// Register host
|
||||
if (this.userEntityService.isRemoteUser(user)) {
|
||||
this.federatedInstanceService.fetch(user.host).then(async i => {
|
||||
|
|
|
@ -91,7 +91,6 @@ export function useNoteCapture(props: {
|
|||
});
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue