Commit 8455114e authored by Steven's avatar Steven

chore: fix list memos request

parent c26109cd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment