fix: method not allowed on connector creation

This commit is contained in:
Maël Gangloff
2025-09-06 10:54:14 +02:00
parent ada68af9b4
commit f9ae2ac5e1
3 changed files with 0 additions and 5 deletions

View File

@@ -86,14 +86,12 @@ use Symfony\Component\Uid\Uuid;
new Post(
normalizationContext: ['groups' => 'watchlist:list'],
denormalizationContext: ['groups' => 'watchlist:create'],
name: 'create',
processor: WatchListUpdateProcessor::class,
),
new Put(
normalizationContext: ['groups' => 'watchlist:item'],
denormalizationContext: ['groups' => ['watchlist:create', 'watchlist:token']],
security: 'object.user == user',
name: 'update',
processor: WatchListUpdateProcessor::class,
),
new Delete(