Renamed retrieveAuthMethods to retrieveAuthMethodsFromAuthStatus

This commit is contained in:
Giuseppe Digilio
2020-01-10 15:30:26 +01:00
parent 3132da9b3d
commit 6f8f4b31bf
3 changed files with 4 additions and 4 deletions

View File

@@ -196,7 +196,7 @@ export class AuthEffects {
.pipe(
ofType(AuthActionTypes.RETRIEVE_AUTH_METHODS),
switchMap((action: RetrieveAuthMethodsAction) => {
return this.authService.retrieveAuthMethods(action.payload)
return this.authService.retrieveAuthMethodsFromAuthStatus(action.payload)
.pipe(
map((authMethodModels: AuthMethod[]) => new RetrieveAuthMethodsSuccessAction(authMethodModels)),
catchError((error) => observableOf(new RetrieveAuthMethodsErrorAction()))