Przeglądaj źródła

docs: Fix typo in managing-sessions.md (#1007)

Update managing-sessions.md
Baraka Mwakisha 4 lat temu
rodzic
commit
7ae0e7ec1b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/content/storefront/managing-sessions.md

+ 1 - 1
docs/content/storefront/managing-sessions.md

@@ -38,7 +38,7 @@ Using bearer tokens involes a bit more work on your part: you'll need to manuall
 
 The workflow would be as follows:
 
-1. Certain mutations and queries initiate a session (e.g. logging in, adding and item to an order etc.). When this happens, the response will contain a HTTP header which [by default is called `'vendure-auth-token'`]({{< relref "auth-options" >}}#authtokenheaderkey).
+1. Certain mutations and queries initiate a session (e.g. logging in, adding an item to an order etc.). When this happens, the response will contain a HTTP header which [by default is called `'vendure-auth-token'`]({{< relref "auth-options" >}}#authtokenheaderkey).
 2. So your http client would need to check for the presence of this header each time it receives a response from the server.
 3. If the `'vendure-auth-token'` header is present, read the value and store it because this is your bearer token.
 4. Attach this bearer token to each subsequent request as `Authorization: Bearer <token>`.