File tree Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change 227
227
}
228
228
},
229
229
"invoice" : {
230
- "disabled" : true ,
230
+ "disabled" : false ,
231
231
"address" : " localhost:50077" ,
232
232
"tech_user" : {
233
233
"id" : " root_tech_user" ,
Original file line number Diff line number Diff line change 200
200
}
201
201
},
202
202
"invoice" : {
203
- "disabled" : true ,
203
+ "disabled" : false ,
204
204
"address" : " localhost:50177" ,
205
205
"mock" : {
206
206
"protoPath" : " io/restorecommerce/invoice.proto" ,
Original file line number Diff line number Diff line change @@ -1844,7 +1844,6 @@ export class OrderingService
1844
1844
1845
1845
if ( this . fulfillment_service ) {
1846
1846
this . logger ?. debug ( 'Create fulfillment on submit...' ) ;
1847
- console . log ( settings ) ;
1848
1847
response . fulfillments = await this . _createFulfillment (
1849
1848
{
1850
1849
items : response . orders ?. filter (
@@ -2080,7 +2079,6 @@ export class OrderingService
2080
2079
) ;
2081
2080
2082
2081
response . orders = request . items . map ( item => response_map [ item . id ] ) ;
2083
- this . logger . error ( 'test' , response ) ;
2084
2082
return response ;
2085
2083
}
2086
2084
catch ( e : any ) {
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ import {
55
55
FulfillmentResponse ,
56
56
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/fulfillment.js' ;
57
57
import {
58
- OperationStatus
58
+ OperationStatus ,
59
+ StatusListResponse
59
60
} from '@restorecommerce/rc-grpc-clients/dist/generated/io/restorecommerce/status.js' ;
60
61
import {
61
62
InvoiceListResponse ,
@@ -1159,6 +1160,17 @@ export const rules = {
1159
1160
} ] ,
1160
1161
totalCount : 1 ,
1161
1162
operationStatus,
1163
+ } ) ,
1164
+ send : (
1165
+ call : any ,
1166
+ callback : ( error : any , response : StatusListResponse ) => void ,
1167
+ ) => callback ( null , {
1168
+ status : [ {
1169
+ id : 'invoice_1' ,
1170
+ code : 200 ,
1171
+ message : 'OK' ,
1172
+ } ] ,
1173
+ operationStatus,
1162
1174
} )
1163
1175
} ,
1164
1176
} ;
You can’t perform that action at this time.
0 commit comments