Update API Path
This commit is contained in:
@@ -20,7 +20,7 @@ app.get("/get_last_alarm/:accesskey", async (req, res) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/get_last_alarm_by_id/:accesskey", async (req, res) => {
|
app.get("/get_last_alarm_id/:accesskey", async (req, res) => {
|
||||||
const accessKey = req.params.accesskey;
|
const accessKey = req.params.accesskey;
|
||||||
|
|
||||||
if (!accessKey) {
|
if (!accessKey) {
|
||||||
|
|||||||
Reference in New Issue
Block a user