Procházet zdrojové kódy

fix(docs): update findCustomerUser call

Bruno Macabeus před 5 roky
rodič
revize
db1893a9bf

+ 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
     // Vendure server using this Google account. If so, we return that
     // 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) {
         return user;
     }