Skip to content

Commit

Permalink
feat: made firstFactors optional to keep support with older backends
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Nov 9, 2023
1 parent 793607c commit 9df44b8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/build/recipe/multitenancy/index.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/build/recipe/multitenancy/types.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/ts/recipe/multitenancy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default class RecipeWrapper {
name: string;
}[];
};
firstFactors: string[];
firstFactors?: string[];
fetchResponse: Response;
}> {
return Recipe.getInstanceOrThrow().recipeImplementation.getLoginMethods({
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/recipe/multitenancy/recipeImplementation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default function getRecipeImplementation(
name: string;
}[];
};
firstFactors: string[];
firstFactors?: string[];
}>(
tenantId,
"/loginmethods",
Expand Down
2 changes: 1 addition & 1 deletion lib/ts/recipe/multitenancy/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export type RecipeInterface = {
name: string;
}[];
};
firstFactors: string[];
firstFactors?: string[];
fetchResponse: Response;
}>;
};

0 comments on commit 9df44b8

Please sign in to comment.