summary refs log tree commit diff
path: root/src/api/routes/users
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/routes/users')
-rw-r--r--src/api/routes/users/@me/settings-proto/1.ts1
-rw-r--r--src/api/routes/users/@me/settings-proto/2.ts1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/api/routes/users/@me/settings-proto/1.ts b/src/api/routes/users/@me/settings-proto/1.ts

index dcbad884..5a03c3ae 100644 --- a/src/api/routes/users/@me/settings-proto/1.ts +++ b/src/api/routes/users/@me/settings-proto/1.ts
@@ -194,6 +194,7 @@ async function patchUserSettings( await userSettings.save(); await emitEvent({ + user_id: userId, event: "USER_SETTINGS_PROTO_UPDATE", data: { settings: { diff --git a/src/api/routes/users/@me/settings-proto/2.ts b/src/api/routes/users/@me/settings-proto/2.ts
index 1ca34de7..2c3394fe 100644 --- a/src/api/routes/users/@me/settings-proto/2.ts +++ b/src/api/routes/users/@me/settings-proto/2.ts
@@ -196,6 +196,7 @@ async function patchUserSettings( await userSettings.save(); await emitEvent({ + user_id: userId, event: "USER_SETTINGS_PROTO_UPDATE", data: { settings: {