refactor: drop support old presign url returned by api
This commit is contained in:
parent
07c989d4e6
commit
8ffecc9146
2 changed files with 3 additions and 11 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue