fix(devices): fix payment amount generation by passing actual values 🐛
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m43s

This commit is contained in:
2025-07-27 15:22:15 +05:00
parent db261ae0bd
commit 76a4e3d66e
3 changed files with 9 additions and 30 deletions

View File

@ -190,12 +190,11 @@ export async function blockDeviceAction(
(action === "simple-block" ? "Blocked by admin" : "")
: isBlocking
? "Blocked by parent"
: "",
: "-",
blocked_by: session?.user?.is_superuser ? blocked_by : "PARENT",
}),
},
);
await handleApiResponse<Device>(response, "blockDeviceAction");
revalidatePath("/devices");