shuttlepro-shared 1.1.76 → 1.1.78
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.
|
@@ -78,17 +78,6 @@ const findIntegrationByFilter = async (filter, workspaceId = null) => {
|
|
|
78
78
|
);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
console.log(filteredIntegrations, "filteredIntegrations");
|
|
82
|
-
console.log(filter, "filter");
|
|
83
|
-
|
|
84
|
-
console.log(
|
|
85
|
-
filteredIntegrations.find((item) =>
|
|
86
|
-
Object.entries(filter).every(
|
|
87
|
-
([key, value]) => item?.body?.[key] === value
|
|
88
|
-
)
|
|
89
|
-
)
|
|
90
|
-
);
|
|
91
|
-
|
|
92
81
|
return (
|
|
93
82
|
filteredIntegrations.find((item) =>
|
|
94
83
|
Object.entries(filter).every(([key, value]) => item.body?.[key] === value)
|
package/config/redis.js
CHANGED
|
@@ -106,7 +106,7 @@ const getRedisData = async (key, field = null) => {
|
|
|
106
106
|
return result ? JSON.parse(result) : null;
|
|
107
107
|
} catch (err) {
|
|
108
108
|
console.error("❌ Error getting Redis data:", err);
|
|
109
|
-
|
|
109
|
+
return null;
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
|
|
@@ -121,7 +121,7 @@ const deleteRedisData = async (key, field = null) => {
|
|
|
121
121
|
return field ? await client.hDel(key, field) : await client.del(key);
|
|
122
122
|
} catch (err) {
|
|
123
123
|
console.error("❌ Error deleting Redis data:", err);
|
|
124
|
-
|
|
124
|
+
return null;
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
|