]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/models/oauth-token.js
Server: update to webseed implementation (tests, lint...)
[github/Chocobozzz/PeerTube.git] / server / models / oauth-token.js
index d53fdcf31fd336a970a722582d7c1577dc11a98b..5beb47bedb29ab230a1f93b87839764acdad4d23 100644 (file)
@@ -18,10 +18,10 @@ OAuthTokenSchema.path('client').required(true)
 OAuthTokenSchema.path('user').required(true)
 
 OAuthTokenSchema.statics = {
-  getByRefreshTokenAndPopulateClient: getByRefreshTokenAndPopulateClient,
-  getByTokenAndPopulateUser: getByTokenAndPopulateUser,
-  getByRefreshToken: getByRefreshToken,
-  removeByUserId: removeByUserId
+  getByRefreshTokenAndPopulateClient,
+  getByTokenAndPopulateUser,
+  getByRefreshToken,
+  removeByUserId
 }
 
 mongoose.model('OAuthToken', OAuthTokenSchema)