fix: stale closure on albumName, remove unused items destructure, remove dead importSharedUploadAll

This commit is contained in:
Varun committed 2026-04-03 20:22:56 +05:30
1 parent 06536e2699
commit a640fe6555
2 files changed
+10 -13

No files matched your search

+1 -10
View File
@@ -1,15 +1,6 @@
import { IMPORT_SHARED_PATH, IMPORT_SHARED_UPLOAD_ALL_PATH } from "@/config/routes";
import { IMPORT_SHARED_PATH } from "@/config/routes";
import API from "@/lib/api";
export const importShared = async (link: string) => {
return API.post(IMPORT_SHARED_PATH, { link });
};
export const importSharedUploadAll = async (params: {
origin: string;
key: string;
assets: object[];
albumOptions: object;
}) => {
return API.post(IMPORT_SHARED_UPLOAD_ALL_PATH, params);
};