mirror of
https://github.com/icereed/paperless-gpt.git
synced 2025-03-13 21:28:02 -05:00
Update main.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
29960013ca
commit
b7535cd312
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -344,7 +344,7 @@ func validateOrDefaultEnvVars() {
|
|||
func (app *App) processAutoTagDocuments() (int, error) {
|
||||
ctx := context.Background()
|
||||
|
||||
documents, err := app.Client.GetDocumentsByTags(ctx, []string{autoTag}, 1)
|
||||
documents, err := app.Client.GetDocumentsByTags(ctx, []string{autoTag}, 1, 25)
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("error fetching documents with autoTag: %w", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue