mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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