Fix shadowed error
All checks were successful
continuous-integration/drone/pr Build is passing

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

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 {