Skip to content

Commit

Permalink
fix: bulk cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadar Rottenberg committed Sep 11, 2017
1 parent fef187c commit 803f72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
var query = urlObj.query;
//use slice to generate a copy of array so sort doesnt modify the original
var postUrls = []
if(req.body & req.body.urls)
if(req.body && req.body.urls)
{
postUrls = req.body.urls.slice(0)
if(postUrls)
Expand Down

0 comments on commit 803f72c

Please sign in to comment.