implemented adding new pages
This commit is contained in:
@@ -39,10 +39,7 @@
|
||||
});
|
||||
if (resp.ok){
|
||||
const patched = await resp.json();
|
||||
for (let key of Object.keys(patched)){
|
||||
console.log('patching '+key+'…');
|
||||
company[key] = patched[key];
|
||||
}
|
||||
for (let key of Object.keys(patched)) company[key] = patched[key];
|
||||
return true;
|
||||
}
|
||||
error = await resp.text();
|
||||
|
||||
Reference in New Issue
Block a user