finish activate warranty logic

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-06-26 09:44:58 +07:00
parent 2477fdf84e
commit d801de0cf1
13 changed files with 167 additions and 36 deletions

View File

@@ -29,7 +29,7 @@ const createStagedUploadFiles = async (params: UploadInput) => {
return JSON.parse(JSON.stringify(stagedTargets[0]));
} catch (error) {
console.log(error);
console.log('createStagedUploadFiles action', error);
}
};
@@ -54,7 +54,7 @@ const onUploadFile = async ({
originalSource: resourceUrl
});
} catch (error) {
console.log(error);
console.log('onUploadFile action', error);
}
};
@@ -81,6 +81,6 @@ export const handleUploadFile = async ({ file }: { file: File }) => {
return result?.[0]?.id;
}
} catch (error) {
console.log(error);
console.log('handleUploadFile action', error);
}
};