fix: [tracker] fix webhook

This commit is contained in:
Terrtia 2023-05-26 13:57:34 +02:00
parent b3cafd2a1d
commit 1e7b527e41
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -241,7 +241,7 @@ class Tracker:
return self._get_field('user_id')
def webhook_export(self):
return r_tracker.hexists(f'tracker:mail:{self.uuid}', 'webhook')
return r_tracker.hexists(f'tracker:{self.uuid}', 'webhook')
def get_webhook(self):
return r_tracker.hget(f'tracker:{self.uuid}', 'webhook')