update sound populater

This commit is contained in:
polv committed 2022-04-28 14:30:02 +07:00
1 parent 45232b33fc
commit e486a76236
5 files changed
+127 -96

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ export async function addSoundTag(query: string, fieldNames: string[]) {
const { value } = field;
if (!soundTag.is(value)) {
toUpdate = toUpdate || { id: n.noteId, fields: {} };
toUpdate.fields[fieldName] = soundTag.add(value);
toUpdate.fields[fieldName] = soundTag.make(value);
}
}
});