@muhgholy/next-drive 4.17.0 → 4.17.1
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/dist/{chunk-N3C7IKRK.js → chunk-QUBHH4G4.js} +3 -3
- package/dist/chunk-QUBHH4G4.js.map +1 -0
- package/dist/{chunk-XIUFYDVE.cjs → chunk-ZYDFFRK3.cjs} +3 -3
- package/dist/chunk-ZYDFFRK3.cjs.map +1 -0
- package/dist/server/controllers/drive.d.ts.map +1 -1
- package/dist/server/express.cjs +11 -11
- package/dist/server/express.js +2 -2
- package/dist/server/index.cjs +13 -13
- package/dist/server/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-N3C7IKRK.js.map +0 -1
- package/dist/chunk-XIUFYDVE.cjs.map +0 -1
|
@@ -1620,7 +1620,7 @@ var driveUpload = async (source, key, options) => {
|
|
|
1620
1620
|
}
|
|
1621
1621
|
const isRootMode = config.mode === "ROOT";
|
|
1622
1622
|
if (!options.enforce && !isRootMode) {
|
|
1623
|
-
const quota = await provider.getQuota(key, accountId,
|
|
1623
|
+
const quota = await provider.getQuota(key, accountId, Number.MAX_SAFE_INTEGER);
|
|
1624
1624
|
if (quota.usedInBytes + fileSize > quota.quotaInBytes) {
|
|
1625
1625
|
throw new Error("Storage quota exceeded");
|
|
1626
1626
|
}
|
|
@@ -2425,5 +2425,5 @@ exports.driveReadFile = driveReadFile;
|
|
|
2425
2425
|
exports.driveUpload = driveUpload;
|
|
2426
2426
|
exports.getDriveConfig = getDriveConfig;
|
|
2427
2427
|
exports.getDriveInformation = getDriveInformation;
|
|
2428
|
-
//# sourceMappingURL=chunk-
|
|
2429
|
-
//# sourceMappingURL=chunk-
|
|
2428
|
+
//# sourceMappingURL=chunk-ZYDFFRK3.cjs.map
|
|
2429
|
+
//# sourceMappingURL=chunk-ZYDFFRK3.cjs.map
|