Skip to content

Commit

Permalink
Fix passage du PUT en POST sur replaceFile
Browse files Browse the repository at this point in the history
  • Loading branch information
lowzonenose committed Mar 4, 2025
1 parent 89ae4dc commit 0682e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Entrepot/UserDocumentsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function modify(string $documentId, Request $request): Response
}
}

#[Route('/{documentId}', name: 'replace_file', methods: ['PUT'])]
#[Route('/{documentId}', name: 'replace_file', methods: ['POST'])]
public function replaceFile(string $documentId, Request $request): Response
{
try {
Expand Down

0 comments on commit 0682e1e

Please sign in to comment.