mirror of
https://github.com/usememos/memos.git
synced 2025-02-22 20:35:21 +08:00
chore: fix list memos request
This commit is contained in:
parent
c26109cd36
commit
8455114eef
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ const CreateMemoRelationDialog: React.FC<Props> = (props: Props) => {
|
|||
filters.push(`content_search == [${JSON.stringify(searchText)}]`);
|
||||
}
|
||||
const { memos } = await memoServiceClient.listMemos({
|
||||
limit: DEFAULT_MEMO_LIMIT,
|
||||
pageSize: DEFAULT_MEMO_LIMIT,
|
||||
filter: filters.length > 0 ? filters.join(" && ") : undefined,
|
||||
});
|
||||
setFetchedMemos(memos);
|
||||
|
|
Loading…
Reference in a new issue