diff options
| author | 2023-12-18 14:18:25 +0000 | |
|---|---|---|
| committer | 2023-12-18 14:18:25 +0000 | |
| commit | 8ebb7775a35b632d49a8f294d83ac786666631f3 (patch) | |
| tree | 02ac5475274125170132b0a4d9f69bd67491a32c /internal/db/bundb/bundb.go | |
| parent | fix poll total vote double count (#2464) (diff) | |
| download | gotosocial-8ebb7775a35b632d49a8f294d83ac786666631f3.tar.xz | |
[feature] request blocking by http headers (#2409)
Diffstat (limited to 'internal/db/bundb/bundb.go')
| -rw-r--r-- | internal/db/bundb/bundb.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index f7417cfeb..d9415eff4 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -67,6 +67,7 @@ type DBService struct { db.Basic db.Domain db.Emoji + db.HeaderFilter db.Instance db.List db.Marker @@ -193,6 +194,10 @@ func NewBunDBService(ctx context.Context, state *state.State) (db.DB, error) { db: db, state: state, }, + HeaderFilter: &headerFilterDB{ + db: db, + state: state, + }, Instance: &instanceDB{ db: db, state: state, |
