mirror of
https://github.com/flarum/core.git
synced 2025-05-05 06:57:55 +02: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