Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
feat: Fix updateDNSRecords using PUT
Browse files Browse the repository at this point in the history
fix #92
  • Loading branch information
joshuaavalon committed Jul 27, 2023
1 parent 14542ad commit 5e1f999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/update-dns-records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ interface Result {

export const updateDNSRecords = createApi<Result, undefined, Data, Argument>({
path: req => `/zones/${req.zoneId}/dns_records/${req.recordId}`,
method: "POST"
method: "PUT"
});

0 comments on commit 5e1f999

Please sign in to comment.