:bug: Fix Bug: 'ModelInfo' object has no attribute 'shot_data'

huangqimin 5 anos atrás
pai
commit
a6df817410
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      member/models.py

+ 1 - 1
member/models.py

@@ -157,7 +157,7 @@ class ShotTypeInfo(BaseModelMixin):
157 157
     @property
158 158
     def shots(self):
159 159
         models = ModelInfo.objects.filter(shot_type_id=self.shot_type_id, status=True)
160
-        return [model.shot_data for model in models]
160
+        return [model.shot_member_data for model in models]
161 161
 
162 162
     @property
163 163
     def data(self):