fix paths
This commit is contained in:
parent
47843d9228
commit
e537bef22e
2 changed files with 2 additions and 1 deletions
|
@ -8,3 +8,4 @@ Simple API for food diary application.
|
||||||
- [ ] Add refresh tokenization
|
- [ ] Add refresh tokenization
|
||||||
- [ ] Add access restriction on each endpoint
|
- [ ] Add access restriction on each endpoint
|
||||||
- [ ] Add tests
|
- [ ] Add tests
|
||||||
|
- [ ] Add default servings
|
||||||
|
|
|
@ -15,7 +15,7 @@ async def create_entry(
|
||||||
return await contoller.call(data)
|
return await contoller.call(data)
|
||||||
|
|
||||||
|
|
||||||
@router.put("/{entry_id}", response_model=Entry)
|
@router.patch("/{entry_id}", response_model=Entry)
|
||||||
async def update_entry(
|
async def update_entry(
|
||||||
request: Request,
|
request: Request,
|
||||||
entry_id: int,
|
entry_id: int,
|
||||||
|
|
Loading…
Reference in a new issue