Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 97b4381

Browse files
committed
fix(vote): forgot to init env in vote api
1 parent 1503ff2 commit 97b4381

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/routes/dbl.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Webhook } from '@top-gg/sdk';
22
import { Router } from 'express';
33
import { VoteManager } from '../../managers/VoteManager.js';
4+
import 'dotenv/config';
45

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

0 commit comments

Comments
 (0)