Skip to content

Commit dcc7f48

Browse files
authored
Merge pull request #192 from buggregator/issue/#189-monolog-badge-channel
[#189] add channel to monolog labels
2 parents 2c08f05 + b99119d commit dcc7f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entities/monolog/lib/use-monolog/normalize-monolog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const normalizeMonolog = (event: ServerEvent<Monolog>): NormalizedEvent<M
88
return {
99
id: event.uuid,
1010
type: EVENT_TYPES.MONOLOG,
11-
labels: [EVENT_TYPES.MONOLOG],
11+
labels: [EVENT_TYPES.MONOLOG, event.payload.channel],
1212
origin,
1313
serverName: "",
1414
date: event.timestamp ? new Date(event.timestamp * 1000) : null,

0 commit comments

Comments
 (0)