mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use more accurate HTTP status code for device add
This commit is contained in:
@@ -368,7 +368,7 @@ function add_device()
|
||||
{
|
||||
$message = "You haven't specified an SNMP version to use";
|
||||
}
|
||||
$code = 200;
|
||||
$code = 201;
|
||||
if(empty($message))
|
||||
{
|
||||
require_once("../includes/functions.php");
|
||||
|
||||
Reference in New Issue
Block a user