fix: 🚑 proper conditional
I need sleep... or coffee
This commit is contained in:
parent
cf8a733927
commit
ced8f56e34
@ -806,7 +806,7 @@ async function insertNote(
|
||||
}
|
||||
|
||||
export async function index(note: Note, reindexing: boolean): Promise<void> {
|
||||
if (!note.text || note.visibility === "public") return;
|
||||
if (!note.text || note.visibility !== "public") return;
|
||||
|
||||
if (config.elasticsearch && es) {
|
||||
es.index({
|
||||
|
Loading…
Reference in New Issue
Block a user