return nickname for userinfo data

Brightcells 9 lat temu
rodzic
commit
48d2e93b70
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      account/models.py

+ 1 - 0
account/models.py

@@ -142,6 +142,7 @@ class UserInfo(CreateUpdateMixin):
142 142
         return {
143 143
             'user_id': self.user_id,
144 144
             'username': self.username,
145
+            'nickname': self.nickname,
145 146
         }
146 147
 
147 148
     data = property(_data)