AFB.js: pass event name 34/23534/1
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 19 Dec 2019 13:30:58 +0000 (14:30 +0100)
committerJose Bollo <jose.bollo@iot.bzh>
Fri, 3 Jan 2020 15:53:38 +0000 (16:53 +0100)
commit18d28239330adad61bd2ed9e928673472ecf79dc
treeccc5d2c517664e9b5dec78dbaa64c34e6e69ad71
parentf3d1f19ae308cc0559728c0ccf6281cbce5ee37c
AFB.js: pass event name

The event name is given at second position,
preserving existing code and making its
use optionnal.

Bug-AGL: SPEC-3069

Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Change-Id: Ieeed1762977b990c139d56c4d78e2b539d6927c6
test/monitoring/AFB.js