Explorar o código

Changed Id to ID per iopreds request

jonas747 %!s(int64=8) %!d(string=hai) anos
pai
achega
339ad583da
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -289,7 +289,7 @@ type Ready struct {
 type Relationship struct {
 	User *User  `json:"user"`
 	Type int    `json:"type"` // 1 = friend, 2 = blocked, 3 = incoming friend req, 4 = sent friend req
-	Id   string `json:"id"`
+	ID   string `json:"id"`
 }
 
 // A RateLimit struct holds information related to a specific rate limit.