Added possibility to search the info providers to update an existing part

This commit is contained in:
Jan Böhmer 2023-11-24 19:28:30 +01:00
parent 73f6d79925
commit 3eeeb01ad1
5 changed files with 56 additions and 7 deletions

View file

@ -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
{