Skip to content

Commit ce80a9e

Browse files
committed
Remove hardcoded url for testing
1 parent 57f567f commit ce80a9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/Checkin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export default class Checkin extends Command {
183183
*/
184184
private async getFutureEvents(): Promise<PortalEvent[]> {
185185
try {
186-
const portalAPIResponse = (await got(`https://testing.api.acmucsd.com/api/v2/event/future`, {
186+
const portalAPIResponse = (await got(`${this.client.settings.portalAPI.url}/event/future`, {
187187
headers: {
188188
'Content-Type': 'application/json',
189189
Authorization: `Bearer ${this.client.apiToken}`,

0 commit comments

Comments
 (0)