revork structures for hub
This commit is contained in:
@@ -241,7 +241,7 @@ func HandleUserNewConnection(response http.ResponseWriter, request *http.Request
|
||||
}
|
||||
requestor.Mu.RUnlock()
|
||||
|
||||
connection := types.CreateConn()
|
||||
connection := types.NewConn()
|
||||
connection.CreatedAt = time.Now()
|
||||
connection.RequestorId = requestor.Id
|
||||
connection.RecipientId = recipient.Id
|
||||
|
||||
Reference in New Issue
Block a user