packetfence
packetfence copied to clipboard
POST /security_event returns ID as an INT.
Describe the bug
GET /security_event/:id returns id
as String: { id: "1" }
.
POST /security_event return id
as Number: { id: 1 }
.
Expected behavior
POST should return a payload where id
is a String.