fix: lint

This commit is contained in:
Mar0xy 2023-09-22 23:58:31 +02:00
parent 0da4717983
commit d05848790c
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 0 additions and 3 deletions

View file

@ -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 => {

View file

@ -91,7 +91,6 @@ export function useNoteCapture(props: {
});
break;
}
}
}