mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 12:12:24 -05:00
[bugfix] rename include_types[] to types[] (#3023)
This commit is contained in:
parent
d2b3d37724
commit
4ce5c37df5
6 changed files with 19 additions and 19 deletions
|
|
@ -41,7 +41,7 @@ func (p *Processor) NotificationsGet(
|
|||
sinceID string,
|
||||
minID string,
|
||||
limit int,
|
||||
includeTypes []string,
|
||||
types []string,
|
||||
excludeTypes []string,
|
||||
) (*apimodel.PageableResponse, gtserror.WithCode) {
|
||||
notifs, err := p.state.DB.GetAccountNotifications(
|
||||
|
|
@ -51,7 +51,7 @@ func (p *Processor) NotificationsGet(
|
|||
sinceID,
|
||||
minID,
|
||||
limit,
|
||||
includeTypes,
|
||||
types,
|
||||
excludeTypes,
|
||||
)
|
||||
if err != nil && !errors.Is(err, db.ErrNoEntries) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue