Skip to content

Commit 3e403d2

Browse files
committed
removed controller responses form controller
1 parent 0f76e5c commit 3e403d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api_controller/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class UsersController(ControllerBase):
116116
@http_post()
117117
def create_user(self, user: UserSchema):
118118
# just simulating created user
119-
return self.Id(uuid.uuid4())
119+
return dict(id=uuid.uuid4())
120120

121121
@http_generic('/{int:user_id}', methods=['put', 'patch'], response=UserSchema)
122122
def update_user(self, user_id: int):

0 commit comments

Comments
 (0)