fix lint errors in NoteCreateService & NoteEditService
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user