diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-28 16:18:28 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-28 16:18:28 +0100 |
commit | 80886906507ba12586874ec66ef683139108cbcf (patch) | |
tree | e5c1d302bb01bbaa9313927183b9a3917b5baf33 /doc/book/build/javascript.md | |
parent | 3908619eac7c46c0d1b065adb4b79db798bc8d22 (diff) | |
download | garage-80886906507ba12586874ec66ef683139108cbcf.tar.gz garage-80886906507ba12586874ec66ef683139108cbcf.zip |
fix the docapi-v1
Diffstat (limited to 'doc/book/build/javascript.md')
-rw-r--r-- | doc/book/build/javascript.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/book/build/javascript.md b/doc/book/build/javascript.md index ff009ffe..a065c595 100644 --- a/doc/book/build/javascript.md +++ b/doc/book/build/javascript.md @@ -31,9 +31,9 @@ npm install --save git+https://git.deuxfleurs.fr/garage-sdk/garage-admin-sdk-js. A short example: ```javascript -const garage = require('garage_administration_api_v0garage_v0_8_0'); +const garage = require('garage_administration_api_v1garage_v0_9_0'); -const api = new garage.ApiClient("http://127.0.0.1:3903/v0"); +const api = new garage.ApiClient("http://127.0.0.1:3903/v1"); api.authentications['bearerAuth'].accessToken = "s3cr3t"; const [node, layout, key, bucket] = [ |