mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
Changed line 173 to /stock/barcodes/external-lookup/{barcode} fixes grocy/grocy#456
This commit is contained in:
parent
709afac1af
commit
8be16169a0
|
|
@ -173,7 +173,7 @@ $app->group('/api', function()
|
||||||
$this->post('/stock/products/by-barcode/{barcode}/open', '\Grocy\Controllers\StockApiController:OpenProductByBarcode');
|
$this->post('/stock/products/by-barcode/{barcode}/open', '\Grocy\Controllers\StockApiController:OpenProductByBarcode');
|
||||||
$this->get('/stock/bookings/{bookingId}', '\Grocy\Controllers\StockApiController:StockBooking');
|
$this->get('/stock/bookings/{bookingId}', '\Grocy\Controllers\StockApiController:StockBooking');
|
||||||
$this->post('/stock/bookings/{bookingId}/undo', '\Grocy\Controllers\StockApiController:UndoBooking');
|
$this->post('/stock/bookings/{bookingId}/undo', '\Grocy\Controllers\StockApiController:UndoBooking');
|
||||||
$this->get('/stock/barcodes/external-lookup', '\Grocy\Controllers\StockApiController:ExternalBarcodeLookup');
|
$this->get('/stock/barcodes/external-lookup{barcode}', '\Grocy\Controllers\StockApiController:ExternalBarcodeLookup');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Shopping list
|
// Shopping list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user