From ced0a9473774f866e5d896dcae6b4123ccfbba19 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sun, 8 Nov 2020 05:54:07 -0500 Subject: [PATCH] fix --- src/api/loc.sh/routes/internal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/loc.sh/routes/internal.ts b/src/api/loc.sh/routes/internal.ts index bf94bc4..0b9b18e 100644 --- a/src/api/loc.sh/routes/internal.ts +++ b/src/api/loc.sh/routes/internal.ts @@ -93,7 +93,7 @@ export default class Internal extends Route { if (!customer) return res.sendStatus(404); await axios({ method: 'get', - url: `https://api.libraryofcode.org/wh/t2?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, + url: `https://api.cloud.libraryofcode.org/wh/t2?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, }); res.sendStatus(200); } @@ -104,7 +104,7 @@ export default class Internal extends Route { if (!customer) return res.sendStatus(404); await axios({ method: 'get', - url: `https://api.libraryofcode.org/wh/t2-rm?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, + url: `https://api.cloud.libraryofcode.org/wh/t2-rm?userID=${customer.userID}&auth=${this.server.client.config.internalKey}`, }); return res.sendStatus(200); }