1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: ensure createdBy is not empty

This commit is contained in:
Ivar Conradi Østhus 2021-03-26 13:57:01 +01:00
parent b9bfa10e30
commit 5d284e3ac9
No known key found for this signature in database
GPG Key ID: 31AC596886B0BD09

View File

@ -91,7 +91,7 @@ module.exports = class ClientMetricsService {
const events = appsToAnnounce.map(app => {
return {
type: APPLICATION_CREATED,
createdBy: app.createdBy,
createdBy: app.createdBy || 'unknown',
data: app,
};
});