M #-: Change DS default id in delete request (#3000)

Changes the default/fallback value of a failed delete request from 0 to -1. This invalidates the request and no datastore will be deleted. If it's set to 0, it will delete the system DS in case a delete request fails.

(cherry picked from commit 51aded8b80)
This commit is contained in:
vichansson authored and Tino Vázquez committed 2024-03-21 19:27:05 +01:00
1 parent a2fab6a356
commit 4df088404d
1 file changed
+1 -1
@@ -64,7 +64,7 @@ module.exports = {
params: {
id: {
from: resource,
default: 0,
default: -1,
},
},
},