Skip to content

Commit

Permalink
fix: type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc committed Jul 12, 2023
1 parent d32dfc8 commit c5e93d6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/build/recipe/session/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ export declare type RecipeInterface = {
getSessionInformation(input: { sessionHandle: string; userContext: any }): Promise<SessionInformation | undefined>;
revokeAllSessionsForUser(input: {
userId: string;
tenantId: string;
tenantId?: string;
revokeAcrossAllTenants?: boolean;
userContext: any;
}): Promise<string[]>;
getAllSessionHandlesForUser(input: {
userId: string;
tenantId: string;
tenantId?: string;
fetchAcrossAllTenants?: boolean;
userContext: any;
}): Promise<string[]>;
Expand Down
4 changes: 2 additions & 2 deletions lib/ts/recipe/session/recipeImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ export default function getRecipeInterface(
revokeAcrossAllTenants,
}: {
userId: string;
tenantId: string;
tenantId?: string;
revokeAcrossAllTenants?: boolean;
}) {
return SessionFunctions.revokeAllSessionsForUser(helpers, userId, tenantId, revokeAcrossAllTenants);
Expand All @@ -423,7 +423,7 @@ export default function getRecipeInterface(
fetchAcrossAllTenants,
}: {
userId: string;
tenantId: string;
tenantId?: string;
fetchAcrossAllTenants?: boolean;
}): Promise<string[]> {
return SessionFunctions.getAllSessionHandlesForUser(helpers, userId, tenantId, fetchAcrossAllTenants);
Expand Down
4 changes: 2 additions & 2 deletions lib/ts/recipe/session/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,14 @@ export type RecipeInterface = {

revokeAllSessionsForUser(input: {
userId: string;
tenantId: string;
tenantId?: string;
revokeAcrossAllTenants?: boolean;
userContext: any;
}): Promise<string[]>;

getAllSessionHandlesForUser(input: {
userId: string;
tenantId: string;
tenantId?: string;
fetchAcrossAllTenants?: boolean;
userContext: any;
}): Promise<string[]>;
Expand Down

0 comments on commit c5e93d6

Please sign in to comment.