fix: new sticky color + recent sticky api call + sticky max height (#6438)
This commit is contained in:
parent
12501d0597
commit
0f7bc6979f
4 changed files with 9 additions and 7 deletions
|
|
@ -21,12 +21,13 @@ export class StickyService extends APIService {
|
|||
async getStickies(
|
||||
workspaceSlug: string,
|
||||
cursor: string,
|
||||
query?: string
|
||||
query?: string,
|
||||
per_page?: number
|
||||
): Promise<{ results: TSticky[]; total_pages: number }> {
|
||||
return this.get(`/api/workspaces/${workspaceSlug}/stickies/`, {
|
||||
params: {
|
||||
cursor,
|
||||
per_page: STICKIES_PER_PAGE,
|
||||
per_page: per_page || STICKIES_PER_PAGE,
|
||||
query,
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue