Skip to content

Commit

Permalink
edititem2
Browse files Browse the repository at this point in the history
  • Loading branch information
benigmatic committed Jul 27, 2021
1 parent 2f535df commit 85f3430
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.js
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ console.log("Error sending the email "+ err);
//var ret='';
var error = '';
const { userId, Name, Brand, Model, Category, Location, Replacement, Serial, itemId, jwtToken } = req.body;
/*

try
{
if( token.isExpired(jwtToken))
Expand All @@ -877,7 +877,7 @@ console.log("Error sending the email "+ err);
{
console.log(e.message);
}
*/


// const filter = {userId: userId, itemId: itemId}
// const newItem = {Name:Name, Brand:Brand, Model:Model, Category:Category, Location:Location, Replacement:Replacement, Serial:Serial};
Expand Down

0 comments on commit 85f3430

Please sign in to comment.