Skip to content

Commit f6e3947

Browse files
committed
fix(conf): updated server
1 parent d074857 commit f6e3947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ func (s *Server) getAccessFromWebhook(user, pass string) (*confpar.Access, error
201201
}
202202

203203
// Timeout is implemented with context termination
204-
ctx, cancel := context.WithTimeout(context.Background(), s.config.Content.AccessesWebhook.Timeout)
204+
ctx, cancel := context.WithTimeout(context.Background(), s.config.Content.AccessesWebhook.Timeout.Duration)
205205
defer cancel()
206206

207207
// Create a new HTTP request

0 commit comments

Comments
 (0)