Skip to content

Commit b7392cb

Browse files
authored
Merge pull request #26 from TTWShell/bugfixs
Bugfixs
2 parents 60d51f5 + 945dc41 commit b7392cb

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
Change history
22
==============
33

4-
1.2.3 (2018-10-16)
4+
1.2.4 (2018-10-18)
5+
6+
* Fix SuccessResult status arg not used.
7+
8+
1.2.3 (2018-10-18)
59

610
* Add utils.use_kwargs, fix webargs's bug.
711

hobbit_core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = [1, 2, 3]
1+
VERSION = [1, 2, 4]

hobbit_core/flask_hobbit/response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class SuccessResult(Result):
5656
def __init__(self, code=None, message='', detail=None, status=None):
5757
return super(SuccessResult, self).__init__(
5858
gen_response(code or self.status, message, detail),
59-
self.status or status)
59+
status or self.status)
6060

6161

6262
class FailedResult(Result):

0 commit comments

Comments
 (0)