refining some serialization

This commit is contained in:
tsmethurst
2021-04-06 23:35:04 +02:00
parent 1025ac31aa
commit 9eb8878e94
4 changed files with 12 additions and 5 deletions

View File

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