Skip to content

Commit

Permalink
fix: save URL properly
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Jun 17, 2024
1 parent 440f2d6 commit 5c00213
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,12 @@ export class CADSettingsController {
update: {
cadOGDescription: data.cadOGDescription || null,
roleplayEnabled: data.roleplayEnabled,
authScreenBgImageId: data.authScreenBgImageId || null,
authScreenHeaderImageId: data.authScreenHeaderImageId || null,
authScreenBgImageId:
data.authScreenBgImageId === null ? null : data.authScreenBgImageId || undefined,
authScreenHeaderImageId:
data.authScreenHeaderImageId === null
? null
: data.authScreenHeaderImageId || undefined,
},
},
},
Expand Down

0 comments on commit 5c00213

Please sign in to comment.