Repository navigation
Replies: 1 comment 1 reply
|
@kennyhei, how are you getting the items in the code below? # AFTER suggested change
@api.put("/items/{item_id}")
def update(request, item_id: int, item: Item):
return self.service.update(item_id, item)
``` |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
To me it would make more sense to provide just pk to these methods:
Example:
All reactions