add.esl 168 B

12345
  1. (lambda (device data)
  2. (/lib/q/done (/api "session/add" device data)
  3. (lambda (result) (console.log "added" device))
  4. (/lib/error (+ "could not add " device))))