[Domain] fix api request getting dns records
This commit is contained in:
@@ -142,7 +142,7 @@ class DomainController extends mfBaseController {
|
||||
}
|
||||
|
||||
private function getDnsRecords() {
|
||||
if (!isset($this->request->domain)) {
|
||||
if (!empty($this->request->domain)) {
|
||||
return ["status" => "error", "message" => "No domain specified."];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user