Skip to content

Commit 0b995b9

Browse files
authored
fix: suspended_until serialized as date instead of datetime (#4169)
1 parent 76d8ea5 commit 0b995b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/suspend/src/Api/UserResourceFields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __invoke(): array
2626
Schema\Str::make('suspendMessage')
2727
->writable($canSuspend)
2828
->visible(fn (User $user, Context $context) => $context->getActor()->id === $user->id || $canSuspend($user, $context)),
29-
Schema\Date::make('suspendedUntil')
29+
Schema\DateTime::make('suspendedUntil')
3030
->writable($canSuspend)
3131
->visible(fn (User $user, Context $context) => $context->getActor()->id === $user->id || $canSuspend($user, $context))
3232
->nullable(),

0 commit comments

Comments
 (0)