5X6GHU7OPRGKRGT5PJBQOJMP3AFMM4HZQ47X5EH7DDXCTCWA6LIQC
W2M2UMQWCG5K3MYSCAJJADB7FGYAM4ODV6BEBAEBPM7J3ZJCHCBAC
JINFVHCA35PS2TWRDKCAEO4ALVLKCOVZ6MDM2PEUWNQNJAE6EY5AC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
VDRC3JXJMIYZ65PDFUBKHJGMKWIBFGYU4WPF43OOXHKTL2UBFKEAC
7755FHS7ZTG4YGJNFYAONWSWSM636WOWFRISDKQU2AOJHN6ZVMBAC
V7HS237PBWI3JIA2FKGHVZ6CXT2BFE6VMXGZSJD7RGD6A3U2ISGQC
BEWT3YUFWOAKQVEO4ZERUTFISI26ULUCNKICDZFYZ4OM3DRLCKWQC
AETEUT6ER7MJXNYTBH5RHUT5URSRWNBJPXU2CA4URLSNAZYMWPIAC
YHNJXHEFIHKZUGR22VCEZQLWR6AADOMXN4GURZXZRXOTWEOZO7AAC
UVGQA4JL7UY6HSEMU2JDRZLT44QJAVKV6ZBMWOFHDFHJZLTM5NKAC
body := string(body_bytes)
println(body)
if body := json2.raw_decode(string(body_bytes)) {
println(body)
events := body.as_map()['events'].arr()
println('events $events.len')
for evt in events {
self.out <- Command{
data: evt.as_map()
}
}
} else {
println('appsvc body decode error $err')
}
fn (mut self Main) as_do(cmd appsvc.Command) {
}