We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f77c45 commit b7cd340Copy full SHA for b7cd340
channels/middleware/pat.go
@@ -231,8 +231,8 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
231
); err != nil {
232
return errors.Wrap(svcerr.ErrUnauthorizedPAT, err)
233
}
234
-
235
- if err := pm.authorizePAT(ctx,
+
+ if err := pm.authorizePAT(ctx,
236
session,
237
smqauth.ChannelsType,
238
session.DomainID,
@@ -246,7 +246,7 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
246
247
248
func (pm *patMiddleware) RemoveParentGroup(ctx context.Context, session authn.Session, id string) error {
249
250
251
252
0 commit comments