fix: event tags does not need undefined guard

the default in the db is "[]" anayways.
This commit is contained in:
Ivar Conradi Østhus
2021-03-18 19:25:45 +01:00
parent 864e01e491
commit e3196675c9
+1 -1
View File
@@ -99,7 +99,7 @@ class EventStore extends EventEmitter {
type: e.type,
created_by: e.createdBy,
data: e.data,
tags: JSON.stringify(e.tags || []),
tags: JSON.stringify(e.tags),
};
}
}