mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-25 16:13:25 +00:00
Fixed regression in JoplinLoader's get note url (#5265)
Fixes a regression in JoplinLoader that was introduced during the code review (bad `page` wildcard in _get_note_url). ## Who can review? Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested: @dev2049 @leo-gan
This commit is contained in:
parent
3be9ba14f3
commit
d3cd21ccf8
@ -36,7 +36,7 @@ class JoplinLoader(BaseLoader):
|
||||
base_url = f"http://{host}:{port}"
|
||||
self._get_note_url = (
|
||||
f"{base_url}/notes?token={access_token}"
|
||||
"&fields=id,parent_id,title,body,created_time,updated_time&page={{page}}"
|
||||
f"&fields=id,parent_id,title,body,created_time,updated_time&page={{page}}"
|
||||
)
|
||||
self._get_folder_url = (
|
||||
f"{base_url}/folders/{{id}}?token={access_token}&fields=title"
|
||||
|
Loading…
Reference in New Issue
Block a user