[Koha-bugs] [Bug 33290] New: Incorrect variable used in http-client.js

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 21 08:49:13 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33290

            Bug ID: 33290
           Summary: Incorrect variable used in http-client.js
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 32939
            Blocks: 33289

Silly error from 
  commit 821808ec31176d662e518418c9ff8a71948e1a4b
  Bug 32939: Use APIClient to replace PATCH requests

+        const body = params.body
+            ? typeof str === "string"
+                ? params.body
+                : JSON.stringify(params.body)
+            : undefined;

  typeof str === "string"
must be
  typeof params.body === "string"


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32939
[Bug 32939] Have generic fetch functions in vue modules
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33289
[Bug 33289] Vue - Add API client class to interact with
svc/config/systempreferences
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list