Skip to content

Commit d147777

Browse files
authored
Merge pull request #2038 from The-Commit-Company/develop
Release v2.8.5
2 parents 56b1d31 + d8bf81d commit d147777

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

raven/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "2.8.4"
1+
__version__ = "2.8.5"
22

33
from raven.raven_integrations.doctype.raven_incoming_webhook.raven_incoming_webhook import ( # noqa
44
handle_incoming_webhook as webhook,

raven/raven/doctype/raven_push_token/raven_push_token.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class RavenPushToken(Document):
2323
user: DF.Link
2424
# end: auto-generated types
2525

26+
def before_validate(self):
27+
self.user = frappe.session.user
28+
2629
def after_insert(self):
2730
"""
2831
If the push service is Frappe Cloud and is enabled, then send the token to the Frappe Cloud API

0 commit comments

Comments
 (0)