Top forgetting to add r.Code = and r.Message =

This commit is contained in:
Howl 2016-04-07 11:44:46 +02:00
parent ae743cb395
commit d84aafebb7

View File

@ -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
}