Skip to content

Commit

Permalink
fix: oldmarr import user casing wrong (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Meierschlumpf authored Dec 25, 2024
1 parent 82c6ce7 commit e37279f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/old-import/src/mappers/map-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const mapAndDecryptUsers = (importUsers: OldmarrImportUser[], encryptionT
...user,
oldId: id,
id: createId(),
name: user.name.toLowerCase(),
colorScheme: settings?.colorScheme === "environment" ? undefined : settings?.colorScheme,
firstDayOfWeek: settings?.firstDayOfWeek === "sunday" ? 0 : settings?.firstDayOfWeek === "monday" ? 1 : 6,
provider: "credentials",
Expand Down

0 comments on commit e37279f

Please sign in to comment.