mirror of
https://github.com/uetchy/namae.git
synced 2025-08-21 02:08:12 +09:00
fix: whois provider
This commit is contained in:
@@ -16,9 +16,6 @@ export default async function handler(
|
||||
const availability = response[0].data.domainName ? false : true;
|
||||
send(res, {availability});
|
||||
} catch (err) {
|
||||
if (err.code === 'ENOTFOUND') {
|
||||
return send(res, {availability: true});
|
||||
}
|
||||
sendError(res, err);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user