Add asset API delete endpoint

This commit is contained in:
Marcus Hill
2022-05-01 10:30:04 +01:00
parent eee7c0b204
commit 69c1fc6cae
3 changed files with 51 additions and 1 deletions

View File

@@ -10,6 +10,5 @@ if($_SERVER['REQUEST_METHOD'] !== "POST"){
// Client ID must be specific for INSERT/UPDATE/DELETE queries
// If this API key allows any client, set $client_id to the one specified, else leave it
if($client_id == 0){
//
$client_id = intval($_POST['client_id']);
}