mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
favourites GET implementation (#95)
This commit is contained in:
@ -94,6 +94,8 @@ func (m *Module) HomeTimelineGETHandler(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
c.Header("Link", resp.LinkHeader)
|
||||
if resp.LinkHeader != "" {
|
||||
c.Header("Link", resp.LinkHeader)
|
||||
}
|
||||
c.JSON(http.StatusOK, resp.Statuses)
|
||||
}
|
||||
|
Reference in New Issue
Block a user