From 0b66bae39759a5553d8ce46131dca3026325097b Mon Sep 17 00:00:00 2001
From: Roman Sergienko <romasergienko@outlook.com>
Date: Fri, 04 Dec 2026 11:19:03 +0000
Subject: [PATCH] Fix RP action upload response handling

---
 web/views.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web/views.py b/web/views.py
index 7b5ec8b..179cd09 100644
--- a/web/views.py
+++ b/web/views.py
@@ -656,7 +656,7 @@
                     file_path = gif_dir / file_name
                     
                     # Сохраняем файл
-                    content = await file.read()
+                    content = file.file.read()
                     with open(file_path, "wb") as f:
                         f.write(content)
                     

--
Gitblit v1.9.3