fix: stale closure on albumName, remove unused items destructure, remove dead importSharedUploadAll
This commit is contained in:
1 parent
06536e2699
commit
a640fe6555
2 files changed
+10
-13
No files matched your search
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user