You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am retrieving a list of activities and I have the need to filter by ActorId or by a custom field. Neither one works. Here's my code, it's super simple but doesn't seem to produce the desired result and I am always getting the same list back.
I am retrieving a list of activities and I have the need to filter by ActorId or by a custom field. Neither one works. Here's my code, it's super simple but doesn't seem to produce the desired result and I am always getting the same list back.
var options = GetOptions.Default.WithOffset(pagesLoaded * PAGE_SIZE).WithLimit(PAGE_SIZE);
if (selectedActorId.HasValue)
{
options = options.WithUserId(selectedActorId.ToString());
}
if(SelectedProjectId.HasValue)
{
options = options.WithCustom("project_id", SelectedProjectId.Value.ToString());
}
options = options.WithReaction(ReactionOption.With().Counts().Own());
var activities = await feed.GetEnrichedFlatActivitiesAsync(options);
Please help!
The text was updated successfully, but these errors were encountered: