on/off add

This commit is contained in:
2024-03-06 01:06:40 +03:00
parent c55b16d259
commit 494675c567
8 changed files with 155 additions and 54 deletions

View File

@@ -9,7 +9,7 @@ router.use(express.json());
router.post("/", async (req, res) => {
try {
// Token Control Middleware
const result = await DeviceLogController.set(
const result = await DeviceLogController.logSave(
req.body.token,
req.body.device_id,
req.body.remote_name,