Ignore error when partial are ok

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-03 10:07:21 +02:00
parent 771edcc4fd
commit 504cdc8f96
21 changed files with 153 additions and 29 deletions

View File

@@ -1238,7 +1238,7 @@ func (s *OrganizationService) GetProfilesByIDs(
conn,
scope,
profileIDs,
); err != nil {
); err != nil && !errors.Is(err, coredata.ErrResourceNotFound) {
return fmt.Errorf("cannot load profiles by ids: %w", err)
}