@longvansoftware/service-js-client 1.9.2 → 1.9.4
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.
@@ -108,7 +108,7 @@ class OrderGraphQLService extends serviceSDK_1.Service {
|
|
108
108
|
const variables = {
|
109
109
|
serviceId,
|
110
110
|
actorId,
|
111
|
-
cartId
|
111
|
+
cartId,
|
112
112
|
};
|
113
113
|
try {
|
114
114
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
@@ -127,7 +127,7 @@ class OrderGraphQLService extends serviceSDK_1.Service {
|
|
127
127
|
partnerId: this.orgId,
|
128
128
|
orderLineItemId,
|
129
129
|
optionId,
|
130
|
-
updateBy
|
130
|
+
updateBy,
|
131
131
|
};
|
132
132
|
try {
|
133
133
|
const response = yield this.graphqlMutationV2(mutation, variables);
|
@@ -48,6 +48,7 @@ class Service {
|
|
48
48
|
${query}
|
49
49
|
`,
|
50
50
|
variables,
|
51
|
+
fetchPolicy: "no-cache",
|
51
52
|
context: {
|
52
53
|
method: "POST",
|
53
54
|
headers: {
|
@@ -75,6 +76,7 @@ class Service {
|
|
75
76
|
${mutation}
|
76
77
|
`,
|
77
78
|
variables,
|
79
|
+
fetchPolicy: "no-cache",
|
78
80
|
context: {
|
79
81
|
method: "POST",
|
80
82
|
headers: {
|
@@ -136,6 +138,7 @@ class Service {
|
|
136
138
|
${query}
|
137
139
|
`,
|
138
140
|
variables,
|
141
|
+
fetchPolicy: "no-cache",
|
139
142
|
context: {
|
140
143
|
method: "POST",
|
141
144
|
headers: {
|
@@ -164,6 +167,7 @@ class Service {
|
|
164
167
|
${mutation}
|
165
168
|
`,
|
166
169
|
variables,
|
170
|
+
fetchPolicy: "no-cache",
|
167
171
|
context: {
|
168
172
|
method: "POST",
|
169
173
|
headers: {
|
@@ -192,6 +196,7 @@ class Service {
|
|
192
196
|
${query}
|
193
197
|
`,
|
194
198
|
variables,
|
199
|
+
fetchPolicy: "no-cache",
|
195
200
|
context: {
|
196
201
|
method: "POST",
|
197
202
|
headers,
|
@@ -217,6 +222,7 @@ class Service {
|
|
217
222
|
${mutation}
|
218
223
|
`,
|
219
224
|
variables,
|
225
|
+
fetchPolicy: "no-cache",
|
220
226
|
context: {
|
221
227
|
method: "POST",
|
222
228
|
headers,
|