Soft delete device
This commit is contained in:
@@ -18,6 +18,6 @@ func RegisterProtectedRoutes(r *gin.Engine) {
|
||||
|
||||
authGroup.Use(middlewares.AuthHandler("admin"))
|
||||
{
|
||||
authGroup.GET("/getmessage", controllers.GetSecretText)
|
||||
authGroup.GET("/getmessage",controllers.GetSecretText)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user