mirror of
https://github.com/ION606/selmer-bot-website.git
synced 2026-05-15 06:26:54 +00:00
Fixed a MAJOR TYPO
This commit is contained in:
@@ -226,7 +226,7 @@ app.post('/verifypremium', async (req, res) => {
|
|||||||
|
|
||||||
connection.then((client) => {
|
connection.then((client) => {
|
||||||
const dbo = client.db('main').collection('authorized');
|
const dbo = client.db('main').collection('authorized');
|
||||||
dbo.findOne({id: id}).then((doc) => {
|
dbo.findOne({ discordID: id }).then((doc) => {
|
||||||
if (doc != undefined) {
|
if (doc != undefined) {
|
||||||
res.sendStatus(200);
|
res.sendStatus(200);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user