mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-10 15:38:07 -06:00
refining some serialization
This commit is contained in:
parent
1025ac31aa
commit
9eb8878e94
4 changed files with 12 additions and 5 deletions
|
|
@ -109,5 +109,5 @@ func (m *appModule) appsPOSTHandler(c *gin.Context) {
|
|||
}
|
||||
|
||||
// done, return the new app information per the spec here: https://docs.joinmastodon.org/methods/apps/
|
||||
c.JSON(http.StatusOK, app.ToMasto())
|
||||
c.JSON(http.StatusOK, app.ToMastoSensitive())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue