From 49c25c2c295108af256eeef4788e8c81ec8dbef3 Mon Sep 17 00:00:00 2001 From: recrtl <14078835+recrtl@users.noreply.github.com> Date: Wed, 19 Oct 2022 16:38:49 +0200 Subject: [PATCH] fix 178: update breaks on more than 50 attachments (#220) --- pkg/confluence/api.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/confluence/api.go b/pkg/confluence/api.go index 40455edf..462d12dd 100644 --- a/pkg/confluence/api.go +++ b/pkg/confluence/api.go @@ -424,6 +424,7 @@ func (api *API) GetAttachments(pageID string) ([]AttachmentInfo, error) { payload := map[string]string{ "expand": "version,container", + "limit": "1000", } request, err := api.rest.Res(