Fix import plugin hook

This commit is contained in:
Gregory Schier committed 2024-07-21 15:46:47 -07:00
1 parent c0e253ef84
commit a444984aed
2 files changed
+14 -15

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ class PluginRuntimeService implements PluginRuntimeServiceImplementation {
const plugins = await this.#manager.pluginsWith('import');
for (const p of plugins) {
const data = await p.runImport(request.data);
if (data != 'null') {
if (data != null && data !== 'null') {
const info = { plugin: (await p.getInfo()).name };
return { info, data };
}