Skip to content

Commit

Permalink
fix failing linter
Browse files Browse the repository at this point in the history
Signed-off-by: nyagamunene <[email protected]>
  • Loading branch information
nyagamunene committed Feb 28, 2025
1 parent e1f6026 commit 2ff5d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions channels/middleware/pat.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
); err != nil {
return errors.Wrap(svcerr.ErrUnauthorizedPAT, err)
}
if err := pm.authorizePAT(ctx,

if err := pm.authorizePAT(ctx,
session,
smqauth.ChannelsType,
session.DomainID,
Expand All @@ -246,7 +246,7 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
}

func (pm *patMiddleware) RemoveParentGroup(ctx context.Context, session authn.Session, id string) error {
if err := pm.authorizePAT(ctx,
if err := pm.authorizePAT(ctx,
session,
smqauth.ChannelsType,
session.DomainID,
Expand Down

0 comments on commit 2ff5d68

Please sign in to comment.