change capitalization of getReadURL.js

This commit is contained in:
ProgrammerIn-wonderland
2025-08-26 18:27:10 -04:00
parent 542cda38b7
commit 1b25dc6e50
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ import symlink from './operations/symlink.js';
import deleteFSEntry from "./operations/deleteFSEntry.js";
import { AdvancedBase } from '../../../../putility/index.js';
import FSItem from '../FSItem.js';
import getReadUrl from './operations/getReadUrl.js';
import getReadURL from './operations/getReadUrl.js';
export class PuterJSFileSystemModule extends AdvancedBase {
@@ -33,7 +33,7 @@ export class PuterJSFileSystemModule extends AdvancedBase {
write = write;
sign = sign;
symlink = symlink;
getReadUrl = getReadUrl;
getReadURL = getReadURL;
FSItem = FSItem
@@ -1,7 +1,7 @@
import * as utils from '../../../lib/utils.js';
import stat from "./stat.js";
const getReadUrl = async function (path, expiresIn = "24h") {
const getReadURL = async function (path, expiresIn = "24h") {
return new Promise(async (resolve, reject) => {
// If auth token is not provided and we are in the web environment,
// try to authenticate with Puter
@@ -39,4 +39,4 @@ const getReadUrl = async function (path, expiresIn = "24h") {
});
}
export default getReadUrl;
export default getReadURL;