Explorar el Código

fix(docs): update findCustomerUser call

Bruno Macabeus hace 5 años
padre
commit
db1893a9bf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/content/docs/developer-guide/authentication.md

+ 1 - 1
docs/content/docs/developer-guide/authentication.md

@@ -130,7 +130,7 @@ export class GoogleAuthenticationStrategy implements AuthenticationStrategy<Goog
     // First we check to see if this user has already authenticated in our
     // First we check to see if this user has already authenticated in our
     // Vendure server using this Google account. If so, we return that
     // Vendure server using this Google account. If so, we return that
     // User object, and they will be now authenticated in Vendure.
     // User object, and they will be now authenticated in Vendure.
-    const user = await this.externalAuthenticationService.findCustomerUser(this.name, payload.sub);
+    const user = await this.externalAuthenticationService.findCustomerUser(ctx, this.name, payload.sub);
     if (user) {
     if (user) {
         return user;
         return user;
     }
     }