👔 Fetch all Resources for Site

This commit is contained in:
Maxim Lebedev 2023-11-10 17:27:03 +06:00
parent 77c76fde45
commit 1623b470a5
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func (ucase *siteUseCase) Do(ctx context.Context, lang language.Tag) (*domain.Si
return nil, fmt.Errorf("cannot find base site data: %w", err)
}
out.Resources, _, _ = ucase.statics.Fetch(ctx, ".")
out.Resources, _, _ = ucase.statics.Fetch(ctx, "")
sub, err := ucase.sites.Get(ctx, lang)
if err != nil {