@jupyter/docprovider 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ydrive.js +6 -1
- package/package.json +1 -1
package/lib/ydrive.js
CHANGED
|
@@ -112,7 +112,12 @@ export class YDrive extends Drive {
|
|
|
112
112
|
const provider = this._providers.get(key);
|
|
113
113
|
if (provider) {
|
|
114
114
|
// Save is done from the backend
|
|
115
|
-
|
|
115
|
+
const fetchOptions = {
|
|
116
|
+
type: options.type,
|
|
117
|
+
format: options.format,
|
|
118
|
+
content: false
|
|
119
|
+
};
|
|
120
|
+
return this.get(localPath, fetchOptions);
|
|
116
121
|
}
|
|
117
122
|
}
|
|
118
123
|
return super.save(localPath, options);
|