Skip to content

Commit b470603

Browse files
committed
chore: fix typo
1 parent 1ae0f15 commit b470603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/suspend/js/src/forum/extend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Model from 'flarum/common/Model';
55
export default [
66
new Extend.Model(User)
77
.attribute<boolean>('canSuspend')
8-
.attribute<Date, string | null | undefined>('suspendedUntil', Model.transformDate)
8+
.attribute<Date | null, string | null>('suspendedUntil', Model.transformDate)
99
.attribute<string | null | undefined>('suspendReason')
1010
.attribute<string | null | undefined>('suspendMessage'),
1111
];

0 commit comments

Comments
 (0)