Refactor OAuth application stuff

This commit is contained in:
Schuyler Cebulskie
2016-10-30 16:55:08 -04:00
parent 589c44327a
commit 85330769a7
6 changed files with 18 additions and 18 deletions

View File

@@ -131,7 +131,7 @@ const Endpoints = exports.Endpoints = {
webhook: (webhookID, token) => `${API}/webhooks/${webhookID}${token ? `/${token}` : ''}`,
// oauth
myApp: `${API}/oauth2/applications/@me`,
myApplication: `${API}/oauth2/applications/@me`,
getApp: (id) => `${API}/oauth2/authorize?client_id=${id}`,
};