Ensure we deal with arrays for tags

This commit is contained in:
Johannes Zellner
2019-04-18 13:06:00 +02:00
parent e79b6ade51
commit 85ec4a3de7

View File

@@ -597,7 +597,7 @@ function install(data, user, auditSource, callback) {
env = data.env || {},
mailboxName = data.mailboxName || '',
label = data.label || null,
tags = data.tags || null;
tags = data.tags || [];
assert(data.appStoreId || data.manifest); // atleast one of them is required