diff --git a/package-lock.json b/package-lock.json index 1322f0cac..e5bbb774e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "nwb-guide", - "version": "0.0.16", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "nwb-guide", - "version": "0.0.16", + "version": "1.0.0", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -16,7 +16,7 @@ "@vitest/coverage-v8": "^1.6.0", "chokidar": "^3.5.3", "concurrently": "^7.6.0", - "dandi": "^0.0.5", + "dandi": "^0.0.6", "find-free-port": "^2.0.0", "fomantic-ui": "^2.8.8", "fs-extra": "^10.0.0", @@ -8755,9 +8755,9 @@ } }, "node_modules/dandi": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/dandi/-/dandi-0.0.5.tgz", - "integrity": "sha512-612iKxHbz2qh95weOYMYAf0Y0HBXMoq53l/P7dnh5u2Qb7utxV4H69hrhsTdrtxXa2sENffs8wx0HeHmvolDcg==" + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/dandi/-/dandi-0.0.6.tgz", + "integrity": "sha512-SiPqaFl7M/MYhWRdZQuAHu/8jgcgZYTMDg3X0IbplCyvWVO+yPVTCZmkY1PX2hPrz3hIkCgNVmYlL6IzNlBq2Q==" }, "node_modules/data-uri-to-buffer": { "version": "6.0.1", diff --git a/package.json b/package.json index cd385c353..23e6e7005 100644 --- a/package.json +++ b/package.json @@ -145,7 +145,7 @@ "@vitest/coverage-v8": "^1.6.0", "chokidar": "^3.5.3", "concurrently": "^7.6.0", - "dandi": "^0.0.5", + "dandi": "^0.0.6", "find-free-port": "^2.0.0", "fomantic-ui": "^2.8.8", "fs-extra": "^10.0.0", diff --git a/src/electron/frontend/core/components/pages/uploads/UploadsPage.js b/src/electron/frontend/core/components/pages/uploads/UploadsPage.js index 4a64867e5..7217d2d5c 100644 --- a/src/electron/frontend/core/components/pages/uploads/UploadsPage.js +++ b/src/electron/frontend/core/components/pages/uploads/UploadsPage.js @@ -119,7 +119,8 @@ export function createDandiset(results = {}) { token: api_key, type: staging ? "staging" : undefined, }); - await api.init(); + + await api.authorize(); const metadata = { description: form.resolved.description,