fix paths

This commit is contained in:
Piotr Domański 2023-04-02 12:49:31 +02:00
parent 47843d9228
commit e537bef22e
2 changed files with 2 additions and 1 deletions

View file

@ -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

View file

@ -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,