context.php: add UserPostQueries
This commit is contained in:
parent
029e05618d
commit
997f642ffb
1 changed files with 1 additions and 0 deletions
|
@ -78,5 +78,6 @@ function build_context(array $config): Context {
|
||||||
return new UserPostQueries($c->get(\PDO::class));
|
return new UserPostQueries($c->get(\PDO::class));
|
||||||
},
|
},
|
||||||
IpNoteQueries::class => fn($c) => new IpNoteQueries($c->get(\PDO::class), $c->get(CacheDriver::class)),
|
IpNoteQueries::class => fn($c) => new IpNoteQueries($c->get(\PDO::class), $c->get(CacheDriver::class)),
|
||||||
|
UserPostQueries::class => fn($c) => new UserPostQueries($c->get(\PDO::class))
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue