We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5cff2d commit 6ebd2d5Copy full SHA for 6ebd2d5
src/api/create_dns_record.ts
@@ -19,7 +19,7 @@ export default function createDnsRecord(
19
}
20
)
21
.then((response) => {
22
- if (!response.ok) {
+ if (response.ok) {
23
return response.json();
24
25
throw new FetchRequestError({cause: response.statusText});
0 commit comments