Rename SCIM export page variable to events
Signed-off-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
@@ -162,8 +162,8 @@ func (s *LogExportService) streamSCIMEventCSV(
|
||||
Direction: page.OrderDirectionAsc,
|
||||
},
|
||||
func(ctx context.Context, cursor *page.Cursor[coredata.SCIMEventOrderField]) ([]*coredata.SCIMEvent, error) {
|
||||
var batch coredata.SCIMEvents
|
||||
if err := batch.LoadByOrganizationID(
|
||||
var events coredata.SCIMEvents
|
||||
if err := events.LoadByOrganizationID(
|
||||
ctx,
|
||||
conn,
|
||||
scope,
|
||||
@@ -174,7 +174,7 @@ func (s *LogExportService) streamSCIMEventCSV(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return batch, nil
|
||||
return events, nil
|
||||
},
|
||||
func(events []*coredata.SCIMEvent) error {
|
||||
profilesByUserName, err := loadSCIMProfileExportInfo(
|
||||
|
||||
Reference in New Issue
Block a user