mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
fix: call paginationSchema as a function
This commit is contained in:
parent
0b8b9e726a
commit
1360484ae9
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ route.get('/wallet', userMiddleware({ enc: 'nip44' }), swapNutzapsMiddleware, as
|
|||
/** Gets a history of transactions. */
|
||||
route.get('/transactions', userMiddleware({ enc: 'nip44' }), async (c) => {
|
||||
const { relay, user, signal } = c.var;
|
||||
const { limit, since, until } = paginationSchema.parse(c.req.query());
|
||||
const { limit, since, until } = paginationSchema().parse(c.req.query());
|
||||
|
||||
const pubkey = await user.signer.getPublicKey();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue