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,
|
Direction: page.OrderDirectionAsc,
|
||||||
},
|
},
|
||||||
func(ctx context.Context, cursor *page.Cursor[coredata.SCIMEventOrderField]) ([]*coredata.SCIMEvent, error) {
|
func(ctx context.Context, cursor *page.Cursor[coredata.SCIMEventOrderField]) ([]*coredata.SCIMEvent, error) {
|
||||||
var batch coredata.SCIMEvents
|
var events coredata.SCIMEvents
|
||||||
if err := batch.LoadByOrganizationID(
|
if err := events.LoadByOrganizationID(
|
||||||
ctx,
|
ctx,
|
||||||
conn,
|
conn,
|
||||||
scope,
|
scope,
|
||||||
@@ -174,7 +174,7 @@ func (s *LogExportService) streamSCIMEventCSV(
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return batch, nil
|
return events, nil
|
||||||
},
|
},
|
||||||
func(events []*coredata.SCIMEvent) error {
|
func(events []*coredata.SCIMEvent) error {
|
||||||
profilesByUserName, err := loadSCIMProfileExportInfo(
|
profilesByUserName, err := loadSCIMProfileExportInfo(
|
||||||
|
|||||||
Reference in New Issue
Block a user