Skip to content
Snippets Groups Projects
Unverified Commit c8d7a5ae authored by MeiMei's avatar MeiMei Committed by GitHub
Browse files

連合なしアンケートのUpdateがリモートに配信されてしまうのを修正 (#11977)

parent 71edc65d
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,8 @@ export class PollService {
const note = await this.notesRepository.findOneBy({ id: noteId });
if (note == null) throw new Error('note not found');
if (note.localOnly) return;
const user = await this.usersRepository.findOneBy({ id: note.userId });
if (user == null) throw new Error('note not found');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment