diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-10-02 12:19:02 +0200 |
commit | c4403b29ad4db097af528a7f04eea07e0ed320d0 (patch) | |
tree | c7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/lib/oauth-model.js | |
parent | 9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff) | |
download | PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip |
Server: remove useless hash affectations
Diffstat (limited to 'server/lib/oauth-model.js')
-rw-r--r-- | server/lib/oauth-model.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/lib/oauth-model.js b/server/lib/oauth-model.js index 6dab02fca..45f796796 100644 --- a/server/lib/oauth-model.js +++ b/server/lib/oauth-model.js | |||
@@ -8,12 +8,12 @@ const User = mongoose.model('User') | |||
8 | 8 | ||
9 | // See https://github.com/oauthjs/node-oauth2-server/wiki/Model-specification for the model specifications | 9 | // See https://github.com/oauthjs/node-oauth2-server/wiki/Model-specification for the model specifications |
10 | const OAuthModel = { | 10 | const OAuthModel = { |
11 | getAccessToken: getAccessToken, | 11 | getAccessToken, |
12 | getClient: getClient, | 12 | getClient, |
13 | getRefreshToken: getRefreshToken, | 13 | getRefreshToken, |
14 | getUser: getUser, | 14 | getUser, |
15 | revokeToken: revokeToken, | 15 | revokeToken, |
16 | saveToken: saveToken | 16 | saveToken |
17 | } | 17 | } |
18 | 18 | ||
19 | // --------------------------------------------------------------------------- | 19 | // --------------------------------------------------------------------------- |