👔 Fetch all Resources for Site
This commit is contained in:
parent
77c76fde45
commit
1623b470a5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue