Skip to content

Commit 22727e6

Browse files
authored
Merge pull request #67 from HuseinA/master
Update: Change create credential response
2 parents 7ced70a + 0758b4b commit 22727e6

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.rst

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Unreleased
22
==========
33

4+
0.3.5 (2024-07-18)
5+
==================
6+
- Update create credential request to return new credential info in response
7+
8+
49
0.3.4 (2021-10-29)
510
==================
611
- Update turn off verify ssl when bucket name have dot

obs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.3.4"
1+
__version__ = "0.3.5"

obs/api/app/controllers/api/admin.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,7 @@ def post(self):
235235
current_app.logger.error(status["reason"])
236236
return response(status["status_code"], message=status["reason"])
237237

238-
return response(
239-
201, f"User {args['userId']} new credential created successfully."
240-
)
238+
return response(200, data = status)
241239
except Exception as e:
242240
current_app.logger.error(f"{e}", exc_info=args["debug"])
243241
return response(500, f"{e}")

0 commit comments

Comments
 (0)