make it compile

This commit is contained in:
Dot-Rar 2020-04-14 17:13:07 +01:00
parent a004352933
commit 7dab620b1a

View File

@ -85,11 +85,7 @@ func WebChatWs(ctx *gin.Context) {
SocketsLock.Lock()
Sockets = append(Sockets, socket)
SocketsLock.Unlock()
userId, err := utils.GetUserId(store)
if err != nil {
conn.Close()
return
}
userId := utils.GetUserId(store)
var guildId string
var guildIdParsed uint64