Skip to content

Commit 9418a61

Browse files
committed
[server-stats] fixed when license not provided
1 parent 742818c commit 9418a61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/server-stats/api/jobs/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class StatsJob extends job.Job {
171171
const options = {
172172
dailyDates: specificDates,
173173
monthlyBreakdown: true,
174-
license_hosting: license.license_hosting,
174+
license_hosting: license?.license_hosting,
175175
};
176176

177177
// Atomically retrieve old last_sync value and set new one

0 commit comments

Comments
 (0)