Mercurial > prosody-modules
comparison mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua @ 3213:85c8a8c33028
mod_adhoc_dataforms_demo: Silence warning about unused argument [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 03 Aug 2018 19:42:48 +0200 |
parents | 69b6910f3bfc |
children | 78d4e631bc5f |
comparison
equal
deleted
inserted
replaced
3212:69b6910f3bfc | 3213:85c8a8c33028 |
---|---|
105 name = "text-single-field", | 105 name = "text-single-field", |
106 value = "text-single-value", | 106 value = "text-single-value", |
107 }, | 107 }, |
108 }) | 108 }) |
109 | 109 |
110 local function handler(fields, err, data) | 110 local function handler(fields, err, data) -- luacheck: ignore 212/data |
111 return { | 111 return { |
112 status = "completed", | 112 status = "completed", |
113 info = "Data was:\n" | 113 info = "Data was:\n" |
114 .. serialization.serialize(err or fields), | 114 .. serialization.serialize(err or fields), |
115 }; | 115 }; |