@@ -23,30 +23,30 @@ public class ModerationClient {
2323 }
2424
2525 public CompletableFuture <Response > flagUser (
26- String flaggedUserId ,String reportingUser , String reason , Map <String , Object > options ) throws StreamException {
27- return flag ("stream:user" , flaggedUserId , reportingUser , reason , options );
26+ String flaggedUserId ,String reportingUser , String reason , Map <String , Object > custom ) throws StreamException {
27+ return flag ("stream:user" , flaggedUserId , reportingUser , reason , custom );
2828 }
2929
3030 public CompletableFuture <Response > flagActivity (
31- String entityId , String reportingUser , String reason , Map <String , Object > options )
31+ String entityId , String reportingUser , String reason , Map <String , Object > custom )
3232 throws StreamException {
33- return flag ("stream:feeds:v2:activity" , entityId , reportingUser , reason , options );
33+ return flag ("stream:feeds:v2:activity" , entityId , reportingUser , reason , custom );
3434 }
3535
3636 public CompletableFuture <Response > flagReaction (
37- String entityId , String reportingUser , String reason , Map <String , Object > options )
37+ String entityId , String reportingUser , String reason , Map <String , Object > custom )
3838 throws StreamException {
39- return flag ("stream:feeds:v2:reaction" , entityId , reportingUser , reason , options );
39+ return flag ("stream:feeds:v2:reaction" , entityId , reportingUser , reason , custom );
4040 }
4141
4242 private CompletableFuture <Response > flag (
4343 String entityType ,
4444 String entityId ,
4545 String reportingUser ,
4646 String reason ,
47- Map <String , Object > options )
47+ Map <String , Object > custom )
4848 throws StreamException {
4949 final Token token = buildModerationToken (secret , Auth .TokenAction .WRITE );
50- return mod .flag (token , entityType , entityId , reportingUser , reason , options );
50+ return mod .flag (token , entityType , entityId , reportingUser , reason , custom );
5151 }
5252}
0 commit comments