Skip to content

Commit aaa0572

Browse files
committed
build fixes
1 parent 5599226 commit aaa0572

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/user-management/user-management.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import {
4242
SerializedCreateMagicAuthOptions,
4343
SerializedCreatePasswordResetOptions,
4444
SerializedCreateUserOptions,
45+
SerializedListSessionsOptions,
4546
SerializedListUsersOptions,
4647
SerializedResetPasswordOptions,
4748
SerializedVerifyEmailOptions,
@@ -709,7 +710,7 @@ export class UserManagement {
709710
async listSessions(
710711
userId: string,
711712
options?: ListSessionsOptions,
712-
): Promise<AutoPaginatable<Session>> {
713+
): Promise<AutoPaginatable<Session, SerializedListSessionsOptions>> {
713714
return new AutoPaginatable(
714715
await fetchAndDeserialize<SessionResponse, Session>(
715716
this.workos,

0 commit comments

Comments
 (0)