fix: rename variables

This commit is contained in:
kolaente 2023-02-02 11:58:57 +01:00
parent 89be5cdcce
commit f11a508684
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ func TestTask_Update(t *testing.T) {
time.Unix(1674745156, 0), time.Unix(1674745156, 0),
time.Unix(1674745156, 223), time.Unix(1674745156, 223),
}, },
ListID: 1, ProjectID: 1,
} }
err := task.Update(s, u) err := task.Update(s, u)
assert.NoError(t, err) assert.NoError(t, err)

View File

@ -341,7 +341,7 @@ func RemoveProjectBackground(c echo.Context) error {
return err return err
} }
err = list.DeleteBackgroundFileIfExists() err = project.DeleteBackgroundFileIfExists()
if err != nil { if err != nil {
return err return err
} }