Skip to content

Commit

Permalink
Merge pull request #67 from HuseinA/master
Browse files Browse the repository at this point in the history
Update: Change create credential response
  • Loading branch information
efenfauzi authored Jul 18, 2024
2 parents 7ced70a + 0758b4b commit 22727e6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased
==========

0.3.5 (2024-07-18)
==================
- Update create credential request to return new credential info in response


0.3.4 (2021-10-29)
==================
- Update turn off verify ssl when bucket name have dot
Expand Down
2 changes: 1 addition & 1 deletion obs/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.4"
__version__ = "0.3.5"
4 changes: 1 addition & 3 deletions obs/api/app/controllers/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,7 @@ def post(self):
current_app.logger.error(status["reason"])
return response(status["status_code"], message=status["reason"])

return response(
201, f"User {args['userId']} new credential created successfully."
)
return response(200, data = status)
except Exception as e:
current_app.logger.error(f"{e}", exc_info=args["debug"])
return response(500, f"{e}")
Expand Down

0 comments on commit 22727e6

Please sign in to comment.