mirror of
https://github.com/grocy/grocy.git
synced 2026-04-12 23:36:15 +02:00
Undo formatting changes
This commit is contained in:
parent
aaa2131253
commit
25255287a7
|
|
@ -331,7 +331,7 @@ class StockApiController extends BaseApiController
|
|||
$gc = new Grocycode($barcode);
|
||||
if ($gc->GetType() != Grocycode::PRODUCT)
|
||||
{
|
||||
throw new \Exception("Invalid grocycode type");
|
||||
throw new \Exception('Invalid grocycode type');
|
||||
}
|
||||
$args['productId'] = $gc->GetId();
|
||||
if ($gc->GetExtraData())
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user