osl-base-extended 1.0.20 → 1.0.21

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.
@@ -274,12 +274,13 @@ class Httpbase {
274
274
  http = inject(HttpClient);
275
275
  baseUrl = '/api/';
276
276
  // ─── HTTP verb wrappers ───────────────────────────────────────────────────────
277
- async post(methodName, body) {
277
+ async post(methodName, body, params) {
278
278
  try {
279
279
  const res = await firstValueFrom(this.http
280
280
  .post(this.getEndPoint(methodName), body, {
281
281
  observe: 'response',
282
282
  headers: this.getHeaders(),
283
+ params: this.buildParams(params || []),
283
284
  })
284
285
  .pipe(timeout(30000)));
285
286
  return this.handleSuccess(res.status, res.body, res.headers);