File tree Expand file tree Collapse file tree
Artifacts/Comanda.Internal.Sdk/source/clients Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ export class ProfilesClient {
1212 this . httpClient = httpClient ;
1313 }
1414
15- public async createOwner ( parameters : ProfileCreationScheme ) : Promise < Result < ProfileScheme > >
16- {
15+ public async createOwner ( parameters : ProfileCreationScheme ) : Promise < Result < ProfileScheme > > {
1716 const response = await this . httpClient . post ( "/api/v1/profiles/owner" , parameters ) ;
1817 if ( response . status < 200 || response . status >= 300 ) {
1918 return Result . failure ( Error . from ( response . data . code , response . data . description ) ) ;
@@ -22,8 +21,7 @@ export class ProfilesClient {
2221 return Result . success ( response . data ) ;
2322 }
2423
25- public async createCustomer ( parameters : ProfileCreationScheme ) : Promise < Result < void > >
26- {
24+ public async createCustomer ( parameters : ProfileCreationScheme ) : Promise < Result < void > > {
2725 const response = await this . httpClient . post ( "/api/v1/profiles/owner" , parameters ) ;
2826 if ( response . status < 200 || response . status >= 300 ) {
2927 return Result . failure ( Error . from ( response . data . code , response . data . description ) ) ;
You can’t perform that action at this time.
0 commit comments