mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-14 05:38:01 -05:00
Tag query change
This commit is contained in:
parent
b66621b283
commit
ce46847b39
1 changed files with 0 additions and 1 deletions
|
@ -112,7 +112,6 @@ func (c *PaperlessClient) GetDocumentsByTags(ctx context.Context, tags []string)
|
||||||
}
|
}
|
||||||
searchQuery := strings.Join(tagQueries, "&")
|
searchQuery := strings.Join(tagQueries, "&")
|
||||||
path := fmt.Sprintf("api/documents/?%s", urlEncode(searchQuery))
|
path := fmt.Sprintf("api/documents/?%s", urlEncode(searchQuery))
|
||||||
log.Printf("Get URL: %s", path)
|
|
||||||
|
|
||||||
resp, err := c.Do(ctx, "GET", path, nil)
|
resp, err := c.Do(ctx, "GET", path, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in a new issue