@@ -20,7 +20,7 @@ internal Personalization(StreamClient client)
2020 public async Task < IDictionary < string , object > > Get ( string endpoint , IDictionary < string , object > data )
2121 {
2222 var request = this . _client . BuildPersonalizationRequest ( endpoint + "/" , HttpMethod . GET ) ;
23- foreach ( KeyValuePair < string , object > entry in data )
23+ foreach ( KeyValuePair < string , object > entry in data )
2424 {
2525 request . AddQueryParameter ( entry . Key , Convert . ToString ( entry . Value ) ) ;
2626 }
@@ -34,7 +34,7 @@ public async Task<IDictionary<string, object>> Get(string endpoint, IDictionary<
3434
3535 public async Task < IDictionary < string , object > > Post ( string endpoint , IDictionary < string , object > data )
3636 {
37- var request = this . _client . BuildJWTAppRequest ( endpoint + "/" , HttpMethod . POST ) ;
37+ var request = this . _client . BuildPersonalizationRequest ( endpoint + "/" , HttpMethod . POST ) ;
3838 request . SetJsonBody ( JsonConvert . SerializeObject ( data ) ) ;
3939
4040 var response = await this . _client . MakeRequest ( request ) ;
@@ -46,8 +46,8 @@ public async Task<IDictionary<string, object>> Post(string endpoint, IDictionary
4646
4747 public async Task Delete ( string endpoint , IDictionary < string , object > data )
4848 {
49- var request = this . _client . BuildJWTAppRequest ( endpoint + "/" , HttpMethod . DELETE ) ;
50- foreach ( KeyValuePair < string , object > entry in data )
49+ var request = this . _client . BuildPersonalizationRequest ( endpoint + "/" , HttpMethod . DELETE ) ;
50+ foreach ( KeyValuePair < string , object > entry in data )
5151 {
5252 request . AddQueryParameter ( entry . Key , Convert . ToString ( entry . Value ) ) ;
5353 }
0 commit comments