We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81fd4be commit 18c79b9Copy full SHA for 18c79b9
gophish/models.py
@@ -87,6 +87,7 @@ def parse(cls, json):
87
for key, val in json.items():
88
if key in cls._valid_properties:
89
setattr(result, key, val)
90
+ return result
91
92
93
class TimelineEntry(object):
@@ -101,6 +102,7 @@ def parse(cls, json):
101
102
setattr(entry, key, details)
103
elif key in cls._valid_properties:
104
setattr(entry, key, val)
105
+ return entry
106
107
108
class User(Model):
0 commit comments