wip
This commit is contained in:
parent
36f5eef849
commit
dcaccc7ab8
5 changed files with 27 additions and 30 deletions
|
@ -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',
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue