forked from mirror/Part-DB.Part-DB-server
Added possibility to search the info providers to update an existing part
This commit is contained in:
parent
73f6d79925
commit
3eeeb01ad1
5 changed files with 56 additions and 7 deletions
|
@ -250,7 +250,7 @@ class PartController extends AbstractController
|
|||
]);
|
||||
}
|
||||
|
||||
#[Route(path: '/{id}/from_info_provider/{providerKey}/{providerId}/update', requirements: ['providerId' => '.+'])]
|
||||
#[Route(path: '/{id}/from_info_provider/{providerKey}/{providerId}/update', name: 'info_providers_update_part', requirements: ['providerId' => '.+'])]
|
||||
public function updateFromInfoProvider(Part $part, Request $request, string $providerKey, string $providerId,
|
||||
PartInfoRetriever $infoRetriever, PartMerger $partMerger): Response
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue