fix Endpoints bug created in constants pr (#432)

This commit is contained in:
Brian Tanner
2016-06-17 17:42:00 -04:00
committed by abal
parent fe3f6c7d20
commit 9c9768f772
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ var Constants = {};
var API = Constants.API = "https://discordapp.com/api";
Constants.Endpoints = {
var Endpoints = Constants.Endpoints = {
// general endpoints
LOGIN: API + "/auth/login",
LOGOUT: API + "/auth/logout",

View File

@@ -4,7 +4,7 @@ const Constants = {};
const API = Constants.API = "https://discordapp.com/api";
Constants.Endpoints = {
const Endpoints = Constants.Endpoints = {
// general endpoints
LOGIN: `${API}/auth/login`,
LOGOUT: `${API}/auth/logout`,