Skip to content

Commit ddb9cfd

Browse files
save
1 parent a5157e6 commit ddb9cfd

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

routed-js/TripServiceHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ exports.TripServiceHandler = void 0;
44
const ServiceHandler_1 = require("./ServiceHandler");
55
class TripServiceHandler extends ServiceHandler_1.ServiceHandler {
66
buildServiceOptions(options, query) {
7-
if (query.roundtrip) {
7+
if (query.roundtrip != null) {
88
options.roundtrip = query.roundtrip;
99
}
1010
if (query.source) {

routed-js/TripServiceHandler.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import { ServiceHandler } from "./ServiceHandler";
22

33
export class TripServiceHandler extends ServiceHandler {
44
protected buildServiceOptions(options: any, query: any): any {
5-
6-
if (query.roundtrip) {
5+
if (query.roundtrip != null) {
76
options.roundtrip = query.roundtrip;
87
}
98
if (query.source) {

0 commit comments

Comments
 (0)