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 56b1d31 + d8bf81d commit d147777Copy full SHA for d147777
2 files changed
raven/__init__.py
@@ -1,4 +1,4 @@
1
-__version__ = "2.8.4"
+__version__ = "2.8.5"
2
3
from raven.raven_integrations.doctype.raven_incoming_webhook.raven_incoming_webhook import ( # noqa
4
handle_incoming_webhook as webhook,
raven/raven/doctype/raven_push_token/raven_push_token.py
@@ -23,6 +23,9 @@ class RavenPushToken(Document):
23
user: DF.Link
24
# end: auto-generated types
25
26
+ def before_validate(self):
27
+ self.user = frappe.session.user
28
+
29
def after_insert(self):
30
"""
31
If the push service is Frappe Cloud and is enabled, then send the token to the Frappe Cloud API
0 commit comments