osl-base-extended 2.0.15 → 2.0.16
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.
|
@@ -354,12 +354,13 @@ class Httpbase {
|
|
|
354
354
|
return this.handleError(error);
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
async put(methodName, body) {
|
|
357
|
+
async put(methodName, body, params) {
|
|
358
358
|
try {
|
|
359
359
|
const res = await firstValueFrom(this.http
|
|
360
360
|
.put(this.getEndPoint(methodName), body, {
|
|
361
361
|
observe: 'response',
|
|
362
362
|
headers: this.getHeaders(),
|
|
363
|
+
params: this.buildParams(params || []),
|
|
363
364
|
})
|
|
364
365
|
.pipe(timeout(30000)));
|
|
365
366
|
return this.handleSuccess(res.status, res.body, res.headers);
|