hischool.js 0.0.16 → 0.0.18
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/cjs/classes/File.js
CHANGED
|
@@ -44,7 +44,7 @@ class File {
|
|
|
44
44
|
*/
|
|
45
45
|
get downloadURL() {
|
|
46
46
|
var _a;
|
|
47
|
-
return `${(_a = __classPrivateFieldGet(this, _File_client, "f").configuration) === null || _a === void 0 ? void 0 : _a.features.storage.url}/${this.tag}/download/${this.id}
|
|
47
|
+
return `${(_a = __classPrivateFieldGet(this, _File_client, "f").configuration) === null || _a === void 0 ? void 0 : _a.features.storage.url}/${this.tag}/download/${this.id}`;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* Human readable file size
|
package/lib/esm/classes/File.js
CHANGED
|
@@ -51,7 +51,7 @@ export class File {
|
|
|
51
51
|
* Download URL for the file
|
|
52
52
|
*/
|
|
53
53
|
get downloadURL() {
|
|
54
|
-
return `${this.#client.configuration?.features.storage.url}/${this.tag}/download/${this.id}
|
|
54
|
+
return `${this.#client.configuration?.features.storage.url}/${this.tag}/download/${this.id}`;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Human readable file size
|