✏️ Renaming files

This commit is contained in:
2021-04-23 11:08:16 -07:00
parent e47fef0562
commit 9d416db831
3 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import {
} from "../../../server/interfaces/folder.interface";
import { FS_API_BASE_URI } from "../../constants/endpoints";
export async function folderWalk(): Promise<Array<IFolderData>> {
export async function walkFolder(path: string): Promise<Array<IFolderData>> {
return axios
.request<Array<IFolderData>>({
url: FS_API_BASE_URI + "/walkFolder",
@@ -28,6 +28,9 @@ export async function extractCoverFromComicBookArchive(
> {
return await axios.request({
url: FS_API_BASE_URI + "/getComicCovers",
data: {
...options,
},
});
}