Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion raven/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.8.4"
__version__ = "2.8.5"

from raven.raven_integrations.doctype.raven_incoming_webhook.raven_incoming_webhook import ( # noqa
handle_incoming_webhook as webhook,
Expand Down
3 changes: 3 additions & 0 deletions raven/raven/doctype/raven_push_token/raven_push_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ class RavenPushToken(Document):
user: DF.Link
# end: auto-generated types

def before_validate(self):
self.user = frappe.session.user

def after_insert(self):
"""
If the push service is Frappe Cloud and is enabled, then send the token to the Frappe Cloud API
Expand Down