Enhance API error handling and response structure; update app name retrieval method
This commit is contained in:
1 parent
95f8e22f11
commit
eb67458ab1
9 files changed
+38
-9
No files matched your search
@@ -18,6 +18,7 @@ if (!isset($input["username"]) || !isset($input["password"])) {
|
||||
"error" => "missing_fields",
|
||||
"error_text" => "Some fields are missing"
|
||||
], true);
|
||||
return;
|
||||
}
|
||||
|
||||
$username = $input["username"];
|
||||
|
||||
Reference in new issue
Block a user