mirror of
https://github.com/Unleash/unleash.git
synced 2025-03-27 00:19:39 +01:00
fix: ensure createdBy is not empty
This commit is contained in:
parent
b9bfa10e30
commit
5d284e3ac9
@ -91,7 +91,7 @@ module.exports = class ClientMetricsService {
|
|||||||
const events = appsToAnnounce.map(app => {
|
const events = appsToAnnounce.map(app => {
|
||||||
return {
|
return {
|
||||||
type: APPLICATION_CREATED,
|
type: APPLICATION_CREATED,
|
||||||
createdBy: app.createdBy,
|
createdBy: app.createdBy || 'unknown',
|
||||||
data: app,
|
data: app,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user