Fixes after rebase

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-17 00:35:02 +04:00
committed by Bryan Frimin
parent 600cbbc92b
commit ff0777f685
4 changed files with 31 additions and 17 deletions

View File

@@ -7497,7 +7497,7 @@ func (r *transferImpactAssessmentConnectionResolver) TotalCount(ctx context.Cont
// NdaFileURL is the resolver for the ndaFileUrl field.
func (r *trustCenterResolver) NdaFileURL(ctx context.Context, obj *types.TrustCenter) (*string, error) {
hasPermission, err := r.Permission(ctx, obj, probo.ActionTrustCenterGetNda)
hasPermission, err := r.Resolver.Permission(ctx, obj, probo.ActionTrustCenterGetNda)
if err != nil {
panic(fmt.Errorf("cannot authorize: %w", err))
}