preparing to patch multiple (selected) times in one call
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -139,7 +139,6 @@
|
||||
async function patchLocation(location,field,newValue){
|
||||
const data = {};
|
||||
data[field] = newValue;
|
||||
console.log(data);
|
||||
const url = api(`stock/location/${location.id}`);
|
||||
const res = await fetch(url,{
|
||||
credentials: 'include',
|
||||
|
||||
Reference in New Issue
Block a user