1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-04 00:18:01 +01:00

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
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

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),
};
}
}