Skip to content

Commit 114a9dc

Browse files
chore: sync API types from infrastructure (#4997)
1 parent d03a45b commit 114a9dc

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/api/types.gen.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/config/auth.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ func (m *mfa) fromAuthConfig(remoteConfig v1API.AuthConfigResponse) {
629629
}
630630

631631
func (s sessions) toAuthConfigBody(body *v1API.UpdateAuthConfigBody) {
632-
body.SessionsTimebox = nullable.NewNullableWithValue(int(s.Timebox.Hours()))
633-
body.SessionsInactivityTimeout = nullable.NewNullableWithValue(int(s.InactivityTimeout.Hours()))
632+
body.SessionsTimebox = nullable.NewNullableWithValue(float32(s.Timebox.Hours()))
633+
body.SessionsInactivityTimeout = nullable.NewNullableWithValue(float32(s.InactivityTimeout.Hours()))
634634
}
635635

636636
func (s *sessions) fromAuthConfig(remoteConfig v1API.AuthConfigResponse) {

0 commit comments

Comments
 (0)