Fix shadowed error
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-10-18 12:10:08 +02:00
parent 891ae88c86
commit 8bcce59973
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ func (vcls *VikunjaCaldavListStorage) getListRessource(isCollection bool) (rr Vi
}
iface, _, _, err := tk.ReadAll(vcls.user, "", 1, 1000)
if err != nil {
return
return rr, err
}
tasks, ok := iface.([]*models.Task)
if !ok {