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: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to