mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix Endpoints bug created in constants pr (#432)
This commit is contained in:
@@ -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`,
|
||||||
|
|||||||
Reference in New Issue
Block a user