Skip to content

Commit 9c6c3db

Browse files
authored
Fix CdR 3 (#799)
About editing the year of the current session
1 parent 0711e09 commit 9c6c3db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/modules/cdr/endpoints_cdr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2555,9 +2555,9 @@ async def get_cdr_year(
25552555
status_code=204,
25562556
)
25572557
async def update_cdr_year(
2558+
cdr_year: coredata_cdr.CdrYear,
25582559
db: AsyncSession = Depends(get_db),
25592560
user: models_users.CoreUser = Depends(is_user_in(GroupType.admin_cdr)),
2560-
cdr_year: coredata_cdr.CdrYear = Depends(get_current_cdr_year),
25612561
):
25622562
await set_core_data(cdr_year, db)
25632563

0 commit comments

Comments
 (0)