فهرست منبع

fix filed user_id in models

blezz-tech 2 ماه پیش
والد
کامیت
f1c86c1944
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      serializer/orders_local.py

+ 1 - 1
serializer/orders_local.py

@@ -39,7 +39,7 @@ class OrdersLocalSerializer(serializers.ModelSerializer):
         allow_null=True
     )
     provider_screen_name = serializers.CharField(
-        source="order_synced.provider.user_id.full_name",
+        source="order_synced.provider.user.full_name",
         allow_null=True
     )