File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/Orb/Service/Coupons/Subscriptions Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 11using Http = System . Net . Http ;
22using Json = System . Text . Json ;
33using Orb = Orb ;
4- using Subscriptions = Orb . Models . Subscriptions ;
5- using Subscriptions1 = Orb . Models . Coupons . Subscriptions ;
4+ using Subscriptions = Orb . Models . Coupons . Subscriptions ;
5+ using Subscriptions1 = Orb . Models . Subscriptions ;
66using System = System ;
77using Tasks = System . Threading . Tasks ;
88
@@ -17,8 +17,8 @@ public SubscriptionService(Orb::IOrbClient client)
1717 _client = client ;
1818 }
1919
20- public async Tasks ::Task < Subscriptions ::Subscriptions > List (
21- Subscriptions1 ::SubscriptionListParams @params
20+ public async Tasks ::Task < Subscriptions1 ::Subscriptions > List (
21+ Subscriptions ::SubscriptionListParams @params
2222 )
2323 {
2424 Http ::HttpRequestMessage webRequest = new ( Http ::HttpMethod . Get , @params . Url ( this . _client ) ) ;
@@ -32,7 +32,7 @@ public SubscriptionService(Orb::IOrbClient client)
3232 {
3333 throw new Orb ::HttpException ( e . StatusCode , await response . Content . ReadAsStringAsync ( ) ) ;
3434 }
35- return Json ::JsonSerializer . Deserialize < Subscriptions ::Subscriptions > (
35+ return Json ::JsonSerializer . Deserialize < Subscriptions1 ::Subscriptions > (
3636 await response . Content . ReadAsStringAsync ( )
3737 ) ?? throw new System ::NullReferenceException ( ) ;
3838 }
You can’t perform that action at this time.
0 commit comments