fixed some migration issues and added generics for update and insert
This commit is contained in:
@@ -43,10 +43,7 @@ func NotificationWS(
|
||||
if err != nil {
|
||||
logError(s, "Notification error", errors.Wrap(err, "notifyLoop"))
|
||||
}
|
||||
err = ws.CloseNow()
|
||||
if err != nil {
|
||||
logError(s, "Error closing websocket", errors.Wrap(err, "ws.CloseNow"))
|
||||
}
|
||||
_ = ws.CloseNow()
|
||||
},
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user