Skip to content

Commit

Permalink
fix: frontend build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
origranot committed Nov 2, 2024
1 parent c2e0e4b commit 548d215
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/backend/src/core/users/dto/update.dto.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IsBase64, IsOptional, IsString, MaxLength, MinLength } from 'class-validator';
import { IsOptional, IsString, MaxLength, MinLength } from 'class-validator';

export class UpdateDto {
@IsOptional()
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/routes/dashboard/settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const updateProfile = globalAction$(
message: 'Display name must be less than 25 characters',
}),
profilePicture: z
.any()
.string()
.optional()
.transform((value) => {
// If value is not base 64 return undefined
Expand Down

0 comments on commit 548d215

Please sign in to comment.