This commit is contained in:
john 2025-05-17 23:53:50 +02:00
parent 36f5eef849
commit dcaccc7ab8
5 changed files with 27 additions and 30 deletions

View file

@ -42,7 +42,9 @@ export class PostsService {
amount: number | null,
): Promise<Post[]> {
const response = await client.GET('/posts', {
query: { cursor, amount, username },
params: {
query: { From: cursor ?? undefined, Amount: amount ?? undefined, Author: username },
},
credentials: 'include',
})