[bugfix] notification types missing from link header (#3571)

* ensure notification types get included in link header query for notifications

* fix type query keys
This commit is contained in:
kim 2024-11-25 15:33:21 +00:00 committed by GitHub
commit a444adee97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 87 additions and 103 deletions

View file

@ -89,7 +89,7 @@ func (suite *SurfaceNotifyTestSuite) TestSpamNotifs() {
notifs, err := testStructs.State.DB.GetAccountNotifications(
gtscontext.SetBarebones(ctx),
targetAccount.ID,
"", "", "", 0, nil, nil,
nil, nil, nil,
)
if err != nil {
suite.FailNow(err.Error())