From 5e1f99920da88ded8b594b858f35c329a56d305e Mon Sep 17 00:00:00 2001 From: Joshua Avalon Date: Thu, 27 Jul 2023 09:39:28 +0800 Subject: [PATCH] feat: Fix updateDNSRecords using PUT fix #92 --- packages/api/src/update-dns-records.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/api/src/update-dns-records.ts b/packages/api/src/update-dns-records.ts index 0b3d97c..e11ce64 100644 --- a/packages/api/src/update-dns-records.ts +++ b/packages/api/src/update-dns-records.ts @@ -30,5 +30,5 @@ interface Result { export const updateDNSRecords = createApi({ path: req => `/zones/${req.zoneId}/dns_records/${req.recordId}`, - method: "POST" + method: "PUT" });