From caf7acf75088ca5cb2fbb9c90ec94d460dd6c764 Mon Sep 17 00:00:00 2001 From: mi1468 Date: Mon, 14 Jul 2025 10:49:04 +0330 Subject: [PATCH] added download api --- core/serializers/DownloadSerializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/serializers/DownloadSerializer.py b/core/serializers/DownloadSerializer.py index d021b1c..ade2cfc 100644 --- a/core/serializers/DownloadSerializer.py +++ b/core/serializers/DownloadSerializer.py @@ -4,4 +4,4 @@ from core.models.download import Download class DownloadSerializer(serializers.ModelSerializer): class Meta: model = Download - fields = ['id', 'name', 'description', 'url', 'version', 'type'] + fields = ['id', 'name', 'description', 'file', 'version', 'type']