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

@@ -29,7 +29,7 @@ func runTestServer() *httptest.Server {
shared.Init()
r := gin.Default()
r.POST("/device_info", SaveDeviceInfofunc)
r.POST("/device_info", SaveDeviceInfo)
return httptest.NewServer(r)
}