Skip to content

Commit 16cf57f

Browse files
committed
fixes
1 parent 424a8ba commit 16cf57f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/utils/queueHelpers.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,7 @@ export async function joinQueues(
199199
`,
200200
[userId],
201201
)
202-
if (res.rows.length > 0) {
203-
console.log(
204-
'1:',
205-
res.rows[0].count,
206-
'2:',
207-
res.rows.length,
208-
'3:',
209-
res.rows[0],
210-
)
202+
if (res.rows[0].count > 0) {
211203
await interaction
212204
?.followUp({ content: "You're already in queue!" })
213205
.catch((e) => console.error(e))

0 commit comments

Comments
 (0)