Skip to content

Commit 31f247d

Browse files
authored
fix: fix listing oncall users when more than 1 page (#2027)
1 parent 683e6c1 commit 31f247d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/resources/oncall/data_source_users.go

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func (r *usersDataSource) Read(ctx context.Context, req datasource.ReadRequest,
9191
if usersResponse.PaginatedResponse.Next == nil {
9292
break
9393
}
94+
page++
9495
}
9596

9697
data.ID = basetypes.NewStringValue("oncall_users") // singleton

0 commit comments

Comments
 (0)