Add OAuth Application Endpoint constant

This commit is contained in:
abalabahaha
2016-07-29 01:17:19 -07:00
parent 810059200c
commit 1049a1d70a
2 changed files with 4 additions and 0 deletions

View File

@@ -14,6 +14,9 @@ var Endpoints = Constants.Endpoints = {
ME_SERVER: function ME_SERVER(serverID) {
return Endpoints.ME + "/guilds/" + serverID;
},
OAUTH2_APPLICATION: function OAUTH2_APPLICATION(appID) {
return API + "/oauth2/applications/" + appID;
},
ME_NOTES: API + "/users/@me/notes",
GATEWAY: API + "/gateway",
AVATAR: function AVATAR(userID, avatar) {