mirror of
https://github.com/flarum/framework.git
synced 2025-02-27 14:53:10 +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…
x
Reference in New Issue
Block a user