Skip to content

Commit

Permalink
Members creation_date formatting bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatoriu committed Aug 26, 2024
1 parent 48d2dff commit 3155237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/endpoints/members.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ def get(self):
'role_id': m.Member.role_id,
'role_name': m.Role.role_name,
'status': m.Member.status,
'creation_date': m.Member.creation_date,
'creation_date': m.Member.creation_date.strftime('%m/%d/%Y'),
} for m in member_query]

return json.dumps(result, indent=4, sort_keys=True, default=str)
return result


@ns.route('/<string:key>')
Expand Down

0 comments on commit 3155237

Please sign in to comment.