aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar S. Co1 <[email protected]>2019-09-24 12:35:10 -0400
committerGravatar S. Co1 <[email protected]>2019-09-24 12:35:24 -0400
commit5ab0f0d8690af02fbd0f014cad5227a350e2483f (patch)
tree1c0eab47b0a4f6706cc823289c5e8fbab3395d01
parentRemove regex wheel as dateparser is no longer used. (diff)
Fix reminders filter query
Closes #445
-rw-r--r--bot/cogs/reminders.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/reminders.py b/bot/cogs/reminders.py
index c37abf21e..6e91d2c06 100644
--- a/bot/cogs/reminders.py
+++ b/bot/cogs/reminders.py
@@ -146,7 +146,7 @@ class Reminders(Scheduler, Cog):
active_reminders = await self.bot.api_client.get(
'bot/reminders',
params={
- 'user__id': str(ctx.author.id)
+ 'author__id': str(ctx.author.id)
}
)
@@ -184,7 +184,7 @@ class Reminders(Scheduler, Cog):
# Get all the user's reminders from the database.
data = await self.bot.api_client.get(
'bot/reminders',
- params={'user__id': str(ctx.author.id)}
+ params={'author__id': str(ctx.author.id)}
)
now = datetime.utcnow()