Skip to content

Commit

Permalink
fix(vote): forgot to init env in vote api
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Apr 17, 2024
1 parent 1503ff2 commit 97b4381
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/routes/dbl.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Webhook } from '@top-gg/sdk';
import { Router } from 'express';
import { VoteManager } from '../../managers/VoteManager.js';
import 'dotenv/config';

// NOTE: testing this against top.gg only works in the production server
// to test locally use postman or something similar to send a POST request to http://localhost:443/dbl
Expand Down

0 comments on commit 97b4381

Please sign in to comment.