upd: remove remaining parts of tw

This commit is contained in:
Mar0xy 2023-11-07 17:10:27 +01:00
parent f270f98756
commit 42a5d473e5
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828
2 changed files with 0 additions and 7 deletions

View file

@ -291,7 +291,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
if ((await roleService.getUserPolicies(user.id)).alwaysMarkNsfw) throw new ApiError(meta.errors.restrictedByRole);
profileUpdates.alwaysMarkNsfw = ps.alwaysMarkNsfw;
}
if (typeof ps.autoSensitive === 'boolean') profileUpdates.autoSensitive = ps.autoSensitive;
if (ps.emailNotificationTypes !== undefined) profileUpdates.emailNotificationTypes = ps.emailNotificationTypes;
if (ps.avatarId) {