mirror of
https://github.com/spacebarchat/server.git
synced 2026-07-29 16:09:23 +00:00
Migrate SettingsProto* to satisfies, part of #1577
This commit is contained in:
@@ -47,7 +47,7 @@ router.get(
|
||||
|
||||
res.json({
|
||||
settings: PreloadedUserSettings.toBase64(userSettings.userSettings!),
|
||||
} as SettingsProtoResponse);
|
||||
} satisfies SettingsProtoResponse);
|
||||
},
|
||||
);
|
||||
|
||||
@@ -93,7 +93,7 @@ router.get(
|
||||
|
||||
res.json({
|
||||
settings: PreloadedUserSettings.toJson(userSettings.userSettings!),
|
||||
} as SettingsProtoJsonResponse);
|
||||
} satisfies SettingsProtoJsonResponse);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ router.get(
|
||||
|
||||
res.json({
|
||||
settings: FrecencyUserSettings.toBase64(userSettings.frecencySettings!),
|
||||
} as SettingsProtoResponse);
|
||||
} satisfies SettingsProtoResponse);
|
||||
},
|
||||
);
|
||||
|
||||
@@ -93,7 +93,7 @@ router.get(
|
||||
|
||||
res.json({
|
||||
settings: FrecencyUserSettings.toJson(userSettings.frecencySettings!),
|
||||
} as SettingsProtoJsonResponse);
|
||||
} satisfies SettingsProtoJsonResponse);
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user