Skip to content

Commit

Permalink
Fix Endpoint: admin/avatar-decorations/create
Browse files Browse the repository at this point in the history
Info: {"e":{"message":"null value in column \"remoteId\" of relation \"avatar_decoration\" violates not-null constraint","code":"QueryFailedError","id":"2837d39d-37ea-4633-979a-fb8de2741b3e"}}
  • Loading branch information
caipira113 committed Nov 16, 2023
1 parent 1cdfe76 commit d2d05a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/models/AvatarDecoration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ export class MiAvatarDecoration {
public roleIdsThatCanBeUsedThisDecoration: string[];

@Column('varchar', {
length: 32,
length: 32, nullable: true,
})
public remoteId: string;
public remoteId: string | null;

@Column('varchar', {
length: 128, nullable: true,
Expand Down

0 comments on commit d2d05a5

Please sign in to comment.