refactor: drop support old presign url returned by api

This commit is contained in:
Methapon Metanipat 2024-09-05 09:56:22 +07:00
parent 07c989d4e6
commit 8ffecc9146
2 changed files with 3 additions and 11 deletions

View file

@ -558,7 +558,7 @@ function triggerDelete(id: string) {
async function triggerChangeStatus(
id: string,
status: string,
): Promise<Branch & { qrCodeImageUploadUrl: string; imageUploadUrl: string }> {
): Promise<Branch> {
return await new Promise((resolve) => {
dialog({
color: status !== 'INACTIVE' ? 'warning' : 'info',