Skip to content

Commit

Permalink
Fix indexable
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Sep 25, 2023
1 parent 3595844 commit c7eed9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/note/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ export default async (user: User, data: Option, silent = false) => new Promise<N
}

// Register to search database
index(note);
if (user.isIndexable) index(note);
});

async function renderNoteOrRenoteActivity(data: Option, note: Note) {
Expand Down

0 comments on commit c7eed9a

Please # to comment.