Oops, actually send the events to a user...

This commit is contained in:
Rory& 2025-07-11 14:03:06 +02:00
parent 5466de1c02
commit b212cbbea1
2 changed files with 2 additions and 0 deletions

View File

@ -194,6 +194,7 @@ async function patchUserSettings(
await userSettings.save(); await userSettings.save();
await emitEvent({ await emitEvent({
user_id: userId,
event: "USER_SETTINGS_PROTO_UPDATE", event: "USER_SETTINGS_PROTO_UPDATE",
data: { data: {
settings: { settings: {

View File

@ -196,6 +196,7 @@ async function patchUserSettings(
await userSettings.save(); await userSettings.save();
await emitEvent({ await emitEvent({
user_id: userId,
event: "USER_SETTINGS_PROTO_UPDATE", event: "USER_SETTINGS_PROTO_UPDATE",
data: { data: {
settings: { settings: {