Skip to content

Commit

Permalink
Fixing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyUsersREC committed Jan 19, 2024
1 parent ac81e6b commit ae644fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/ShiftLogging.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ async def load_leaderboard(shift_type=None, batch_size=25):
{"$sort": {"total_seconds": -1}}
]

cursor = _bot.shift_management.shifts.db.aggregate(pipeline, allowDiskUse=True, batchSize=batch_size)
cursor = bot.shift_management.shifts.db.aggregate(pipeline, allowDiskUse=True, batchSize=batch_size)

leaderboard = []

Expand Down

0 comments on commit ae644fc

Please sign in to comment.