package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.
// Code generated by github.com/99designs/gqlgen version v0.17.45

import (
	"context"

	"edge-infra.dev/pkg/edge/api/graph/model"
)

// GetCABundle is the resolver for the getCABundle field.
func (r *queryResolver) GetCABundle(ctx context.Context, bannerEdgeID string) (*model.CaBundle, error) {
	topLevelProject := r.Config.Bff.TopLevelProjectID
	return r.CABundleService.GetCABundle(ctx, bannerEdgeID, topLevelProject)
}