Skip to content

Commit

Permalink
Merge pull request #444 from thedadams/sdk-pause-confirm
Browse files Browse the repository at this point in the history
fix: pause confirm in the SDK server
  • Loading branch information
thedadams authored Jun 5, 2024
2 parents 452de51 + 5704d35 commit 8f344d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/sdkserver/confirm.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import (
)

func (s *server) authorize(ctx engine.Context, input string) (runner.AuthorizerResponse, error) {
defer gcontext.GetPauseFuncFromCtx(ctx.Ctx)()()

if auth.IsSafe(ctx) {
return runner.AuthorizerResponse{
Accept: true,
Expand Down

0 comments on commit 8f344d9

Please sign in to comment.