pull/29/head
Matthew 2020-11-08 05:54:07 -05:00
parent 2bcddf0a4c
commit ced0a94737
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ export default class Internal extends Route {
if (!customer) return res.sendStatus(404); if (!customer) return res.sendStatus(404);
await axios({ await axios({
method: 'get', 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); res.sendStatus(200);
} }
@ -104,7 +104,7 @@ export default class Internal extends Route {
if (!customer) return res.sendStatus(404); if (!customer) return res.sendStatus(404);
await axios({ await axios({
method: 'get', 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); return res.sendStatus(200);
} }