Skip to content

Commit 2f4026c

Browse files
committed
READMEを修正
1 parent 9550da0 commit 2f4026c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import { createClient } from 'microcms-js-sdk'; //ES6
3434
const client = createClient({
3535
serviceDomain: "YOUR_DOMAIN", // YOUR_DOMAIN is the XXXX part of XXXX.microcms.io
3636
apiKey: "YOUR_API_KEY",
37-
globalDraftKey: "YOUR_GLOBAL_DRAFT_KEY", // If need
3837
});
3938
```
4039

@@ -48,7 +47,6 @@ const { createClient } = microcms;
4847
const client = createClient({
4948
serviceDomain: "YOUR_DOMAIN", // YOUR_DOMAIN is the XXXX part of XXXX.microcms.io
5049
apiKey: "YOUR_API_KEY",
51-
globalDraftKey: "YOUR_GLOBAL_DRAFT_KEY", // If need
5250
});
5351
</script>
5452
```
@@ -60,7 +58,6 @@ client
6058
.get({
6159
endpoint: 'endpoint',
6260
queries: { limit: 20, filters: 'createdAt[greater_than]2021' },
63-
useGlobalDraftKey: false, // This is an option if your have set the globalDraftKey. Default value true.
6461
})
6562
.then((res) => console.log(res))
6663
.catch((err) => console.log(err));

0 commit comments

Comments
 (0)