Skip to content

Commit 4af0997

Browse files
committed
tech : remove async
1 parent e44415c commit 4af0997

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

package-lock.json

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
},
3232
"homepage": "https://github.com/camfou/connect-nodejs",
3333
"dependencies": {
34-
"async": "1.3.0",
3534
"base64url": "3.0.1",
3635
"camfou-connect-jwt": "0.2.5",
3736
"jwa": "2.0.0",

test/anvilClientSpec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,9 @@ describe('Anvil Connect Client', function () {
959959
promise = anvil.token({
960960
grant_type: 'client_credentials',
961961
scope: 'realm'
962-
}).then(success).catch(failure)
962+
}).then(data => {
963+
return success(data)
964+
}).catch(failure)
963965
return promise
964966
})
965967
afterEach(function () {

0 commit comments

Comments
 (0)