aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/oauth-client.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/models/oauth-client.js
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-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.js6
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({
11OAuthClientSchema.path('clientSecret').required(true) 11OAuthClientSchema.path('clientSecret').required(true)
12 12
13OAuthClientSchema.statics = { 13OAuthClientSchema.statics = {
14 getByIdAndSecret: getByIdAndSecret, 14 getByIdAndSecret,
15 list: list, 15 list,
16 loadFirstClient: loadFirstClient 16 loadFirstClient
17} 17}
18 18
19mongoose.model('OAuthClient', OAuthClientSchema) 19mongoose.model('OAuthClient', OAuthClientSchema)