Skip to content

Commit 6ebd2d5

Browse files
committed
Update create_dns_record.ts
1 parent e5cff2d commit 6ebd2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/create_dns_record.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default function createDnsRecord(
1919
}
2020
)
2121
.then((response) => {
22-
if (!response.ok) {
22+
if (response.ok) {
2323
return response.json();
2424
}
2525
throw new FetchRequestError({cause: response.statusText});

0 commit comments

Comments
 (0)