Support assigning nil as time instead of setting time as invalid. Fix typo that led to incorrect disconnect time. Maybe addresses #1268?
This commit is contained in:
@@ -23,7 +23,7 @@ type ypDetailsResponse struct {
|
||||
SessionMaxViewerCount int `json:"sessionMaxViewerCount"`
|
||||
Social []models.SocialHandle `json:"social"`
|
||||
|
||||
LastConnectTime utils.NullTime `json:"lastConnectTime"`
|
||||
LastConnectTime *utils.NullTime `json:"lastConnectTime"`
|
||||
}
|
||||
|
||||
// GetYPResponse gets the status of the server for YP purposes.
|
||||
|
||||
Reference in New Issue
Block a user