fix: set missing signalType attribute (#36)

This commit is contained in:
RichΛrd 2021-09-17 12:55:17 -04:00 committed by GitHub
parent 58f10babba
commit f42c249395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,3 +25,5 @@ proc decode*(jsonSignal: JsonNode): Signal =
of SignalType.Stats: StatsSignal.fromEvent(jsonSignal) of SignalType.Stats: StatsSignal.fromEvent(jsonSignal)
of SignalType.ChroniclesLogs: ChroniclesLogsSignal.fromEvent(jsonSignal) of SignalType.ChroniclesLogs: ChroniclesLogsSignal.fromEvent(jsonSignal)
else: Signal() else: Signal()
result.signalType = signalType