Soft delete device

This commit is contained in:
Nedim
2023-09-14 18:33:27 +02:00
parent dc728c4183
commit 56bb362e51
5 changed files with 52 additions and 30 deletions

View File

@@ -18,6 +18,6 @@ func RegisterProtectedRoutes(r *gin.Engine) {
authGroup.Use(middlewares.AuthHandler("admin"))
{
authGroup.GET("/getmessage", controllers.GetSecretText)
authGroup.GET("/getmessage",controllers.GetSecretText)
}
}

View File

@@ -9,5 +9,5 @@ import (
func RegisterPublicRoutes(r *gin.Engine) {
r.GET("/publicmessage", controllers.GetPublicText)
r.POST("/device_info", controllers.SaveDeviceInfofunc)
r.POST("/device_info", controllers.SaveDeviceInfo)
}