mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
fix Endpoints bug created in constants pr (#432)
This commit is contained in:
parent
fe3f6c7d20
commit
9c9768f772
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ var Constants = {};
|
||||||
|
|
||||||
var API = Constants.API = "https://discordapp.com/api";
|
var API = Constants.API = "https://discordapp.com/api";
|
||||||
|
|
||||||
Constants.Endpoints = {
|
var Endpoints = Constants.Endpoints = {
|
||||||
// general endpoints
|
// general endpoints
|
||||||
LOGIN: API + "/auth/login",
|
LOGIN: API + "/auth/login",
|
||||||
LOGOUT: API + "/auth/logout",
|
LOGOUT: API + "/auth/logout",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ const Constants = {};
|
||||||
|
|
||||||
const API = Constants.API = "https://discordapp.com/api";
|
const API = Constants.API = "https://discordapp.com/api";
|
||||||
|
|
||||||
Constants.Endpoints = {
|
const Endpoints = Constants.Endpoints = {
|
||||||
// general endpoints
|
// general endpoints
|
||||||
LOGIN: `${API}/auth/login`,
|
LOGIN: `${API}/auth/login`,
|
||||||
LOGOUT: `${API}/auth/logout`,
|
LOGOUT: `${API}/auth/logout`,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue