@natyapp/meta 1.5.7 → 1.5.8
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.
|
@@ -5,6 +5,7 @@ const Either_1 = require("../../Errors/Either");
|
|
|
5
5
|
const axiosInstances_1 = require("../axiosInstances");
|
|
6
6
|
exports.connectionMutations = {
|
|
7
7
|
insert: async (connection) => {
|
|
8
|
+
console.log("connection.insert:", axiosInstances_1.api);
|
|
8
9
|
const call = await axiosInstances_1.api.post(`/connections`, connection);
|
|
9
10
|
if (!call.data)
|
|
10
11
|
return (0, Either_1.throwError)("");
|
|
@@ -23,6 +24,7 @@ exports.connectionMutations = {
|
|
|
23
24
|
return (0, Either_1.throwSuccess)(call.data);
|
|
24
25
|
},
|
|
25
26
|
getAll: async (props) => {
|
|
27
|
+
console.log("connection.getAll:", axiosInstances_1.api);
|
|
26
28
|
const call = await axiosInstances_1.api.get(`/connections`, { params: props });
|
|
27
29
|
if (!call.data)
|
|
28
30
|
return (0, Either_1.throwError)("");
|