mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-01 23:32:24 -05:00
[bugfix] Fix Postgres emoji delete, emoji category change (#2570)
* [bugfix] Fix Postgres emoji delete, emoji category change * revert trace logging * caching issue * update tests
This commit is contained in:
parent
14b684b2b5
commit
aa8bbe6ad2
15 changed files with 500 additions and 233 deletions
|
|
@ -197,7 +197,17 @@ func (m *Module) EmojisGETHandler(c *gin.Context) {
|
|||
includeEnabled = true
|
||||
}
|
||||
|
||||
resp, errWithCode := m.processor.Admin().EmojisGet(c.Request.Context(), authed.Account, authed.User, domain, includeDisabled, includeEnabled, shortcode, maxShortcodeDomain, minShortcodeDomain, limit)
|
||||
resp, errWithCode := m.processor.Admin().EmojisGet(
|
||||
c.Request.Context(),
|
||||
authed.Account,
|
||||
domain,
|
||||
includeDisabled,
|
||||
includeEnabled,
|
||||
shortcode,
|
||||
maxShortcodeDomain,
|
||||
minShortcodeDomain,
|
||||
limit,
|
||||
)
|
||||
if errWithCode != nil {
|
||||
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue