Explorar el Código

Fix key in vcard mock data

JC Brand hace 4 años
padre
commit
f7432672e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      spec/mock.js

+ 1 - 1
spec/mock.js

@@ -660,7 +660,7 @@ window.addEventListener('converse-loaded', () => {
             }
             const vcard = $iq().c('vCard').c('FN').t(fullname).nodeTree;
             return {
-                'vcard': vcard,
+                'stanza': vcard,
                 'fullname': vcard.querySelector('FN')?.textContent,
                 'image': vcard.querySelector('PHOTO BINVAL')?.textContent,
                 'image_type': vcard.querySelector('PHOTO TYPE')?.textContent,