Skip to content

Commit 1bb3d81

Browse files
[FEEDS-845]feeds-v3 collections update (#62)
Co-authored-by: Darko <darkoatanasovski@gmail.com>
1 parent cc61a61 commit 1bb3d81

File tree

9 files changed

+315
-40
lines changed

9 files changed

+315
-40
lines changed

call.go

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chat.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

feeds-v3.go

Lines changed: 39 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

feeds_integration_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,8 +1289,8 @@ func test26ModerateActivity(t *testing.T, ctx context.Context, feedsClient *gets
12891289

12901290
// snippet-start: ModerateActivity
12911291
moderationResponse, err := feedsClient.ActivityFeedback(ctx, activityID, &getstream.ActivityFeedbackRequest{
1292-
//Report: getstream.PtrTo(true),
1293-
//Reason: getstream.PtrTo("inappropriate_content"),
1292+
// Report: getstream.PtrTo(true),
1293+
// Reason: getstream.PtrTo("inappropriate_content"),
12941294
UserID: &testUserID2, // Different user reporting
12951295
})
12961296
// snippet-end: ModerateActivity
@@ -1672,7 +1672,7 @@ func test33FeedGroupCRUD(t *testing.T, ctx context.Context, feedsClient *getstre
16721672
{Type: "dummy"},
16731673
},
16741674
Aggregation: &getstream.AggregationConfig{
1675-
Format: getstream.PtrTo("time_based"),
1675+
Format: "time_based",
16761676
},
16771677
})
16781678
// snippet-end: UpdateFeedGroup
@@ -1748,7 +1748,7 @@ func test34FeedViewCRUD(t *testing.T, ctx context.Context, feedsClient *getstrea
17481748
},
17491749
},
17501750
Aggregation: &getstream.AggregationConfig{
1751-
Format: getstream.PtrTo("time_based"),
1751+
Format: "time_based",
17521752
},
17531753
})
17541754
// snippet-end: CreateFeedView
@@ -1778,7 +1778,7 @@ func test34FeedViewCRUD(t *testing.T, ctx context.Context, feedsClient *getstrea
17781778
},
17791779
},
17801780
Aggregation: &getstream.AggregationConfig{
1781-
Format: getstream.PtrTo("popularity_based"),
1781+
Format: "popularity_based",
17821782
},
17831783
})
17841784
// snippet-end: UpdateFeedView

feeds_test.go

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)