Skip to content

Commit

Permalink
fix: pause confirm in the SDK server
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <donnie@acorn.io>
  • Loading branch information
thedadams committed Jun 5, 2024
1 parent 452de51 commit 5704d35
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 5704d35

Please sign in to comment.