diff options
author | Kim Alvefur <zash@zash.se> | 2021-03-26 13:01:16 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-03-26 13:01:16 +0100 |
commit | 45acd0367200f8c7bd9106bc00088a4753d5d019 (patch) | |
tree | bf08e79edce8e5768954ebad22c4f926c6fb08f8 | |
parent | f36d7d1161b728e12f87cbf19007ed57c367a384 (diff) | |
download | prosody-45acd0367200f8c7bd9106bc00088a4753d5d019.tar.gz prosody-45acd0367200f8c7bd9106bc00088a4753d5d019.zip |
util.datamapper: Revert one special attribute to longer form
Had a name, using attr() broke it.
-rw-r--r-- | spec/util_datamapper_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_datamapper_spec.lua b/spec/util_datamapper_spec.lua index af460e60..8c66224d 100644 --- a/spec/util_datamapper_spec.lua +++ b/spec/util_datamapper_spec.lua @@ -54,7 +54,7 @@ describe("util.datampper", function() type = "object"; xml = {namespace = "urn:xmpp:reactions:0"; name = "reactions"}; properties = { - to = attr(); + to = {type = "string"; xml = {attribute = true; name = "id"}}; reactions = {type = "array"; items = {type = "string"; xml = {name = "reaction"}}}; }; }; |