fix lint errors in NoteCreateService & NoteEditService
This commit is contained in:
parent
2d7918a9b7
commit
feeaf26641
2 changed files with 3 additions and 3 deletions
|
|
@ -309,7 +309,7 @@ export class NoteEditService implements OnApplicationShutdown {
|
|||
|
||||
if (this.isRenote(data)) {
|
||||
if (data.renote.id === oldnote.id) {
|
||||
throw new Error("A note can't renote itself");
|
||||
throw new Error('A note can\'t renote itself');
|
||||
}
|
||||
|
||||
switch (data.renote.visibility) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue