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/models/oauth-client.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/models/oauth-client.js')
-rw-r--r-- | server/models/oauth-client.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/oauth-client.js b/server/models/oauth-client.js index 45834c5a5..a1aefa985 100644 --- a/server/models/oauth-client.js +++ b/server/models/oauth-client.js | |||
@@ -11,9 +11,9 @@ const OAuthClientSchema = mongoose.Schema({ | |||
11 | OAuthClientSchema.path('clientSecret').required(true) | 11 | OAuthClientSchema.path('clientSecret').required(true) |
12 | 12 | ||
13 | OAuthClientSchema.statics = { | 13 | OAuthClientSchema.statics = { |
14 | getByIdAndSecret: getByIdAndSecret, | 14 | getByIdAndSecret, |
15 | list: list, | 15 | list, |
16 | loadFirstClient: loadFirstClient | 16 | loadFirstClient |
17 | } | 17 | } |
18 | 18 | ||
19 | mongoose.model('OAuthClient', OAuthClientSchema) | 19 | mongoose.model('OAuthClient', OAuthClientSchema) |