Skip to content

Commit d9bdef9

Browse files
authored
chore: fix typo in oidctest package (#13815)
1 parent bdd2caf commit d9bdef9

File tree

1 file changed

+3
-3
lines changed
  • coderd/coderdtest/oidctest

1 file changed

+3
-3
lines changed

coderd/coderdtest/oidctest/idp.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,10 +1423,10 @@ func (f *FakeIDP) getClaims(m *syncmap.Map[string, jwt.MapClaims], key string) (
14231423
}
14241424

14251425
func httpErrorCode(defaultCode int, err error) int {
1426-
var stautsErr statusHookError
1426+
var statusErr statusHookError
14271427
status := defaultCode
1428-
if errors.As(err, &stautsErr) {
1429-
status = stautsErr.HTTPStatusCode
1428+
if errors.As(err, &statusErr) {
1429+
status = statusErr.HTTPStatusCode
14301430
}
14311431
return status
14321432
}

0 commit comments

Comments
 (0)