Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leonidastri committed Sep 27, 2024
1 parent 3d7dd1d commit e3bb73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, data=None, status='ok', info=None, debug_info=None):
@staticmethod
def ok(**xs):
"""Create a successful result with an optional success message."""
return Result(status='ok', **xs)
return Result(**xs)

def as_dict(self):
if config.environment == 'development':
Expand Down

0 comments on commit e3bb73f

Please sign in to comment.