feat(SW-164): Add pagination for friendship transactions
This commit is contained in:
@@ -455,6 +455,7 @@ export const userQueryRouter = router({
|
||||
transaction: router({
|
||||
friendTransactions: protectedProcedure.query(async (opts) => {
|
||||
const apiResponse = await api.get(api.endpoints.v1.friendTransactions, {
|
||||
cache: "no-store",
|
||||
headers: {
|
||||
Authorization: `Bearer ${opts.ctx.session.token.access_token}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user