mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
fix: event tags does not need undefined guard
the default in the db is "[]" anayways.
This commit is contained in:
parent
864e01e491
commit
e3196675c9
@ -99,7 +99,7 @@ class EventStore extends EventEmitter {
|
|||||||
type: e.type,
|
type: e.type,
|
||||||
created_by: e.createdBy,
|
created_by: e.createdBy,
|
||||||
data: e.data,
|
data: e.data,
|
||||||
tags: JSON.stringify(e.tags || []),
|
tags: JSON.stringify(e.tags),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user