mirror of
https://github.com/flarum/framework.git
synced 2024-11-29 12:43:52 +08:00
Use ApiSerializer attributes method
This commit is contained in:
parent
c01dc63c5d
commit
06dfd8a603
|
@ -37,7 +37,7 @@ return [
|
|||
->dateAttribute('suspended_until'),
|
||||
|
||||
(new Extend\ApiSerializer(UserSerializer::class))
|
||||
->mutate(AddUserSuspendAttributes::class),
|
||||
->attributes(AddUserSuspendAttributes::class),
|
||||
|
||||
new Extend\Locales(__DIR__.'/locale'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user