diff --git a/assets/maximo.js b/assets/maximo.js index ae1c5a3..288c3f1 100644 --- a/assets/maximo.js +++ b/assets/maximo.js @@ -331,11 +331,11 @@ class Maximo { throw new Error(parseInt(statuscode)); } } - + //TODO: also return maximo link to item in inventory /** * Upload item to inventory * @param {object} item information regarding item to be added to storeroom - * @return {number} status message + * @return {0|1} status message. 0 if failure and 1 if success (Note: why didn't we just use the HTTP codes?) */ async uploadToInventory(item) { try { diff --git a/renderer/item_main.html b/renderer/item_main.html index b5d74b2..182f2f8 100644 --- a/renderer/item_main.html +++ b/renderer/item_main.html @@ -64,12 +64,21 @@