Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
Signed-off-by: Mohan Narayana <[email protected]>
  • Loading branch information
MohanNarayana committed Oct 26, 2021
1 parent 524e0ee commit cb909c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/queries/anonymousCartByCartId.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export default async function anonymousCartByCartId(context, { cartId, cartToken
if (!cartId) {
throw new ReactionError("invalid-param", "You must provide a cartId");
}
return Cart.findOne({$or:[{_id: cartId},{anonymousAccessToken: hashToken(cartToken)}]});

return Cart.findOne({ $or: [{ _id: cartId }, { anonymousAccessToken: hashToken(cartToken) }] });
}

0 comments on commit cb909c0

Please sign in to comment.