Load shared albums recursively

This solves #143 and #229
This commit is contained in:
viktorstrate
2021-03-03 15:55:55 +01:00
parent c18759e6db
commit 3d9ae530af
12 changed files with 390 additions and 178 deletions

View File

@@ -326,7 +326,7 @@ func (r *mutationResolver) UserRemoveRootAlbum(ctx context.Context, userID int,
return err
}
children, err := album.GetChildren(tx)
children, err := album.GetChildren(tx, nil)
if err != nil {
return err
}