Skip to content

Commit 1311a80

Browse files
committed
update route
1 parent 5f55844 commit 1311a80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/dashboard/src/@3rdweb-sdk/react/hooks/useEngine.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ export function useEngineDeleteCloudHosted() {
261261
feedback,
262262
}: DeleteCloudHostedInput) => {
263263
const res = await fetch(
264-
`${THIRDWEB_API_HOST}/v2/engine/deployments/${deploymentId}/infrastructure`,
264+
`${THIRDWEB_API_HOST}/v2/engine/deployments/${deploymentId}/infrastructure/delete`,
265265
{
266-
method: "DELETE",
266+
method: "POST",
267267
headers: {
268268
"Content-Type": "application/json",
269269
},

0 commit comments

Comments
 (0)