mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
storeMiddleware: remove as string
This commit is contained in:
parent
8902dc28c1
commit
25db277a9f
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import { eventsDB } from '@/storages.ts';
|
|||
|
||||
/** Store middleware. */
|
||||
const storeMiddleware: AppMiddleware = async (c, next) => {
|
||||
const pubkey = c.get('pubkey') as string;
|
||||
const pubkey = c.get('pubkey');
|
||||
|
||||
if (pubkey) {
|
||||
const store = new UserStore(pubkey, eventsDB);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue