Sfoglia il codice sorgente

posting order

master
Florian Eisenmenger 2 anni fa
parent
commit
fff350108a
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      src/ApiResource/PostingApi.php

+ 1
- 0
src/ApiResource/PostingApi.php Vedi File

@@ -46,6 +46,7 @@ use Symfony\Component\Validator\Constraints\NotBlank;
security: 'is_granted("ROLE_ADMIN")',
)
],
order: ['createdAt' => 'DESC'],
security: 'is_granted("ROLE_USER")',
provider: EntityToDtoStateProvider::class,
processor: EntityClassDtoStateProcessor::class,


Caricamento…
Annulla
Salva