Refactoring
This commit is contained in:
@@ -40,4 +40,9 @@ class HookNotificationItem:
|
||||
self.content = content
|
||||
|
||||
def to_json(self):
|
||||
return json.dumps(self, default=lambda o: o.__dict__, sort_keys=True, indent=4)
|
||||
return json.dumps(
|
||||
self,
|
||||
default=lambda o: o.__dict__,
|
||||
sort_keys=True,
|
||||
indent=4
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user