Skip to content

feat(posts): accept default accounts on bulk import - #42

Merged
alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts
Nov 10, 2026
Merged

alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts

Conversation

@alihesari

Copy link
Copy Markdown
Member

posts().validateImport and posts().commitImport gain overloads taking a List<String> accounts of account ids or platform names (for both the Path and byte[] forms). It is sent as a comma-separated accounts form field and applies to every CSV row whose own accounts cell is empty. The field is omitted when the list is null or empty. Existing overloads are unchanged.

Tested: mvn -B verify (194 tests, 0 failures). A new test asserts the field is absent without accounts and sent with them.

Refs fopost/fopost#1219

@alihesari
alihesari merged commit b119c49 into main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant