mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-20 20:26:21 +00:00
change capitalization of getReadURL.js
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user