aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
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/lib
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip
Server: remove useless hash affectations
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/friends.js14
-rw-r--r--server/lib/oauth-model.js12
2 files changed, 13 insertions, 13 deletions
diff --git a/server/lib/friends.js b/server/lib/friends.js
index 6c4383d8e..556d2e773 100644
--- a/server/lib/friends.js
+++ b/server/lib/friends.js
@@ -17,13 +17,13 @@ const Request = mongoose.model('Request')
17const Video = mongoose.model('Video') 17const Video = mongoose.model('Video')
18 18
19const friends = { 19const friends = {
20 addVideoToFriends: addVideoToFriends, 20 addVideoToFriends,
21 hasFriends: hasFriends, 21 hasFriends,
22 getMyCertificate: getMyCertificate, 22 getMyCertificate,
23 makeFriends: makeFriends, 23 makeFriends,
24 quitFriends: quitFriends, 24 quitFriends,
25 removeVideoToFriends: removeVideoToFriends, 25 removeVideoToFriends,
26 sendOwnedVideosToPod: sendOwnedVideosToPod 26 sendOwnedVideosToPod
27} 27}
28 28
29function addVideoToFriends (video) { 29function addVideoToFriends (video) {
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
10const OAuthModel = { 10const 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// ---------------------------------------------------------------------------