Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
🐛 Remove extra # from UI colors
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 30, 2020
1 parent f1e95a5 commit 956bfb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/auth/auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ export class AuthService {
data.profilePictureUrl ??
`https://ui-avatars.com/api/?name=${initials}&background=${randomColor({
luminosity: 'light',
})}&color=000000`;
}).replace('#', '')}&color=000000`;

for await (const emailString of [email, emailSafe]) {
const md5Email = createHash('md5').update(emailString).digest('hex');
Expand Down
2 changes: 1 addition & 1 deletion src/modules/groups/groups.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class GroupsService {
data.profilePictureUrl ??
`https://ui-avatars.com/api/?name=${initials}&background=${randomColor({
luminosity: 'light',
})}&color=000000`;
}).replace('#', '')}&color=000000`;
return this.prisma.group.create({
include: { memberships: { include: { group: true } } },
data: {
Expand Down

0 comments on commit 956bfb8

Please sign in to comment.