We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a03db3a + 426c5b4 commit ae69f01Copy full SHA for ae69f01
seatable_api/main.py
@@ -848,10 +848,10 @@ def get_related_users(self):
848
response = requests.get(self._get_related_users_url(), headers=self.headers)
849
return parse_response(response)['user_list']
850
851
- def send_toast_notification(self, email, msg, toast_type='success'):
+ def send_toast_notification(self, user_id, msg, toast_type='success'):
852
url = self._send_toast_notification_url()
853
requests.post(url, json={
854
- 'to_user': email,
+ 'to_user': user_id,
855
'toast_type': toast_type,
856
'detail': {
857
'msg': str(msg)
0 commit comments