Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix mutate

Steven Teye6c6984cbc67
diff --git a/apps/web/ui/modals/deposit-funds-modal.tsx b/apps/web/ui/modals/deposit-funds-modal.tsx
index 899d648a1f..a02afa32db 100644
--- a/apps/web/ui/modals/deposit-funds-modal.tsx
+++ b/apps/web/ui/modals/deposit-funds-modal.tsx
@@ -50,7 +50,7 @@ const DepositFundsForm = ({ closeModal }: { closeModal: () => void }) => {
depositFundsAction,
{
async onSuccess() {
- await mutate(`/api/dots/transfers?workspaceId=${workspaceId}`);
+ await mutate(`/api/workspaces/${workspaceId}/deposits`);
closeModal();
toast.success("Funds deposited successfully.");
},