From 466c72d65f232eafe36383cb2eb86192ee637c37 Mon Sep 17 00:00:00 2001 From: Diego Magdaleno Date: Sat, 15 May 2021 18:23:01 -0500 Subject: [PATCH] Config: Those bracks dont go there --- src/routes/gateway.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/gateway.ts b/src/routes/gateway.ts index 4c7ff450..b6c8f49f 100644 --- a/src/routes/gateway.ts +++ b/src/routes/gateway.ts @@ -4,7 +4,7 @@ import Config from "../util/Config" const router = Router(); router.get("/", (req, res) => { - const { endpoint } = Config.getAll().gateway(); + const { endpoint } = Config.getAll().gateway; res.send({ url: endpoint || "ws://localhost:3002" }); });