CEC-2075 Remove supplier active directory id (#167)

* CEC-2075 Remove supplier oid

* Clean up
This commit is contained in:
John Wu
2022-07-18 10:39:07 -07:00
committed by GitHub
parent 0d2f9c8d74
commit 05d841159c
8 changed files with 134 additions and 111 deletions

View File

@@ -39,6 +39,9 @@ const suppliersAPI = {
data.push(supplier);
return supplier;
},
activateSupplier: async (_email, _token) => {
return { message: "2022-07-14T21:02:58.998182Z" };
},
deleteSupplier: async (email) => {
const index = data.findIndex((element) => element.email === email);
if (index >= 0) data.splice(index, 1);