File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ exports.TripServiceHandler = void 0;
4
4
const ServiceHandler_1 = require ( "./ServiceHandler" ) ;
5
5
class TripServiceHandler extends ServiceHandler_1 . ServiceHandler {
6
6
buildServiceOptions ( options , query ) {
7
- if ( query . roundtrip ) {
7
+ if ( query . roundtrip != null ) {
8
8
options . roundtrip = query . roundtrip ;
9
9
}
10
10
if ( query . source ) {
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ import { ServiceHandler } from "./ServiceHandler";
2
2
3
3
export class TripServiceHandler extends ServiceHandler {
4
4
protected buildServiceOptions ( options : any , query : any ) : any {
5
-
6
- if ( query . roundtrip ) {
5
+ if ( query . roundtrip != null ) {
7
6
options . roundtrip = query . roundtrip ;
8
7
}
9
8
if ( query . source ) {
You can’t perform that action at this time.
0 commit comments