Move every Integrations.findOne(idOrFirstObjectSelector, options) to the ReactiveCache

This commit is contained in:
Martin Filser 2023-02-05 11:02:39 +01:00
parent 767d8e66e7
commit 6b7b464acc
4 changed files with 55 additions and 5 deletions

View file

@ -163,7 +163,7 @@ if (Meteor.isServer) {
data: is2way ? { description, ...clonedParams } : value,
};
if (!Integrations.findOne({ url: integration.url })) return;
if (!ReactiveCache.getIntegration({ url: integration.url })) return;
const url = integration.url;