diff options
Diffstat (limited to 'server/models/avatar/avatar.ts')
-rw-r--r-- | server/models/avatar/avatar.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/avatar/avatar.ts b/server/models/avatar/avatar.ts index 7a370bcd3..b40144592 100644 --- a/server/models/avatar/avatar.ts +++ b/server/models/avatar/avatar.ts | |||
@@ -24,7 +24,7 @@ export class AvatarModel extends Model<AvatarModel> { | |||
24 | filename: string | 24 | filename: string |
25 | 25 | ||
26 | @AllowNull(true) | 26 | @AllowNull(true) |
27 | @Is('AvatarFileUrl', value => throwIfNotValid(value, isActivityPubUrlValid, 'fileUrl')) | 27 | @Is('AvatarFileUrl', value => throwIfNotValid(value, isActivityPubUrlValid, 'fileUrl', true)) |
28 | @Column | 28 | @Column |
29 | fileUrl: string | 29 | fileUrl: string |
30 | 30 | ||