FIX: Use new attribute names for flair (#154)

FIX: Use new attribute names for flair (#154)

diff --git a/assets/javascripts/discourse/widgets/discourse-post-event-invitee.js.es6 b/assets/javascripts/discourse/widgets/discourse-post-event-invitee.js.es6
index 6810af1..2d3b819 100644
--- a/assets/javascripts/discourse/widgets/discourse-post-event-invitee.js.es6
+++ b/assets/javascripts/discourse/widgets/discourse-post-event-invitee.js.es6
@@ -51,10 +51,10 @@ export default createWidget("discourse-post-event-invitee", {
     if (statusIcon) {
       avatarContent.push(
         this.attach("avatar-flair", {
-          primary_group_name: I18n.t(
+          flair_name: I18n.t(
             `discourse_post_event.models.invitee.status.${attrs.invitee.status}`
           ),
-          primary_group_flair_url: statusIcon,
+          flair_url: statusIcon,
         })
       );
     }

GitHub sha: 3a02538d6d81e64d715a9ace7ef4022691f326f2

This commit appears in #154 which was approved by Falco and pmusaraj. It was merged by nbianca.