mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
fixes
This commit is contained in:
parent
391da7f799
commit
69ffd5fafc
|
|
@ -93,7 +93,7 @@ export default apiRoute<{
|
|||
},
|
||||
},
|
||||
id: {
|
||||
lt: objects[0].id,
|
||||
gt: objects[0].id,
|
||||
},
|
||||
},
|
||||
take: 1,
|
||||
|
|
@ -118,7 +118,7 @@ export default apiRoute<{
|
|||
},
|
||||
},
|
||||
id: {
|
||||
gt: objects.at(-1)?.id,
|
||||
lt: objects.at(-1)?.id,
|
||||
},
|
||||
},
|
||||
take: 1,
|
||||
|
|
@ -172,7 +172,7 @@ export default apiRoute<{
|
|||
authorId: id,
|
||||
isReblog: exclude_reblogs ? true : undefined,
|
||||
id: {
|
||||
lt: objects[0].id,
|
||||
gt: objects[0].id,
|
||||
},
|
||||
},
|
||||
take: 1,
|
||||
|
|
@ -192,7 +192,7 @@ export default apiRoute<{
|
|||
authorId: id,
|
||||
isReblog: exclude_reblogs ? true : undefined,
|
||||
id: {
|
||||
gt: objects.at(-1)?.id,
|
||||
lt: objects.at(-1)?.id,
|
||||
},
|
||||
},
|
||||
take: 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue