diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/friends.js | 14 | ||||
-rw-r--r-- | server/lib/oauth-model.js | 12 |
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') | |||
17 | const Video = mongoose.model('Video') | 17 | const Video = mongoose.model('Video') |
18 | 18 | ||
19 | const friends = { | 19 | const 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 | ||
29 | function addVideoToFriends (video) { | 29 | function 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 |
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 | // --------------------------------------------------------------------------- |