diff --git a/app/v1/friend.go b/app/v1/friend.go index f08307e..0740a2e 100644 --- a/app/v1/friend.go +++ b/app/v1/friend.go @@ -76,6 +76,9 @@ ORDER BY users_relationships.id` if err := results.Err(); err != nil { md.C.Error(err) } + + r.Code = 200 + r.Data = myFriends return }