Skip to content

Commit b7cd340

Browse files
committed
fix failing linter
Signed-off-by: nyagamunene <stevenyaga2014@gmail.com>
1 parent 4f77c45 commit b7cd340

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

channels/middleware/pat.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
231231
); err != nil {
232232
return errors.Wrap(svcerr.ErrUnauthorizedPAT, err)
233233
}
234-
235-
if err := pm.authorizePAT(ctx,
234+
235+
if err := pm.authorizePAT(ctx,
236236
session,
237237
smqauth.ChannelsType,
238238
session.DomainID,
@@ -246,7 +246,7 @@ func (pm *patMiddleware) SetParentGroup(ctx context.Context, session authn.Sessi
246246
}
247247

248248
func (pm *patMiddleware) RemoveParentGroup(ctx context.Context, session authn.Session, id string) error {
249-
if err := pm.authorizePAT(ctx,
249+
if err := pm.authorizePAT(ctx,
250250
session,
251251
smqauth.ChannelsType,
252252
session.DomainID,

0 commit comments

Comments
 (0)