We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1adbe1f commit 6468ebeCopy full SHA for 6468ebe
domains/middleware/authorization.go
@@ -60,7 +60,7 @@ func NewAuthorization(entityType string, svc domains.Service, authz smqauthz.Aut
60
61
func (am *authorizationMiddleware) CreateDomain(ctx context.Context, session authn.Session, d domains.Domain) (domains.Domain, []roles.RoleProvision, error) {
62
params := map[string]any{
63
- "domain": d,
+ "domain": d.ID,
64
}
65
if err := am.callOut(ctx, session, domains.OpCreateDomain.String(domains.OperationNames), params); err != nil {
66
return domains.Domain{}, nil, err
0 commit comments