Skip to content

Commit 1a6796d

Browse files
committed
docs: updated docs to reflect code change
1 parent 264eb25 commit 1a6796d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ If you need to customize the Kentico Kontent Delivery SDK by registering interce
117117

118118
``` javascript
119119
export default function ({ store, $nuxtDeliveryClient }) {
120-
$nuxtDeliveryClient.deliveryClient.config.globalHeaders = (queryConfig) => {
120+
$nuxtDeliveryClient.config.globalHeaders = (queryConfig) => {
121121
let headers = [];
122122
headers.push({header: 'Authorization', value: 'bearer ' + store.state.token });
123123
return headers;
@@ -148,7 +148,7 @@ class Page extends ContentItem {
148148
}
149149

150150
export default function ({ store, app, $nuxtDeliveryClient }) {
151-
$nuxtDeliveryClient.deliveryClient.config.typeResolvers = [
151+
$nuxtDeliveryClient.config.typeResolvers = [
152152
new TypeResolver('page', () => new Page())
153153
]
154154
}

0 commit comments

Comments
 (0)