Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
devfans committed Oct 26, 2018
1 parent 877838d commit b78f523
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dal.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class Redis_String extends Redis_Key {
}

async setnx(params, value) {
return 1 == await wrapper.db.setnxAsync(this.composeKeyStr(params))
}
return 1 == await wrapper.db.setnxAsync(this.composeKeyStr(params), value)
}

}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redis-async-wrapper",
"version": "0.0.10",
"version": "0.0.11",
"description": "redis data layer async wrapper",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b78f523

Please sign in to comment.