@kiminix/tp-client 2.50.0 → 2.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,8 +101,9 @@ var MenuGuestAPIs = /** @class */ (function () {
|
|
|
101
101
|
return __generator(this, function (_a) {
|
|
102
102
|
return [2 /*return*/, RequestUtils.send(function () {
|
|
103
103
|
var params = [
|
|
104
|
+
props.deviceId ? "device_id=".concat(props.deviceId) : undefined,
|
|
104
105
|
props.business_identifier ? "business_identifier=".concat(props.business_identifier) : undefined,
|
|
105
|
-
props.table_id ? "table_id=".concat(props.table_id) : undefined
|
|
106
|
+
props.table_id ? "table_id=".concat(props.table_id) : undefined,
|
|
106
107
|
].filter(function (value) { return value; }).join("&");
|
|
107
108
|
return axios.get(base + "/menus/guest?".concat(params), {
|
|
108
109
|
headers: {
|