Resolve "API call - get list of warranties given list of serial numbers" #1228

Merged
korina.cordero merged 3 commits from 372-api-call-get-list-of-warranties-given-list-of-serial-numbers into master 2020-04-02 04:02:10 +00:00
Showing only changes of commit 1dac0c506e - Show all commits

View file

@ -530,7 +530,7 @@ class WarrantyController extends APIController
$warr = $em->getRepository(Warranty::class)->findOneBy(['serial' => $clean_serial]);
if ($warr == null)
$warr_not_found_list[] = 'Warranty not found for ' . $clean_serial;
$warr_not_found_list[] = $clean_serial;
else
$warranty_list[] = $this->generateWarrantyData($warr);
}