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:
parent
b9bfa10e30
commit
5d284e3ac9
@ -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,
|
||||
};
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user