From 805393b3e58ca31d0d90e9c0b8222b74cdd96bd3 Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 20 Jan 2025 15:24:57 +1000 Subject: [PATCH] [backend/api] Fix drive folder endpoint --- Iceshrimp.Backend/Controllers/Web/DriveController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Iceshrimp.Backend/Controllers/Web/DriveController.cs b/Iceshrimp.Backend/Controllers/Web/DriveController.cs index ee3e2d02..0682f794 100644 --- a/Iceshrimp.Backend/Controllers/Web/DriveController.cs +++ b/Iceshrimp.Backend/Controllers/Web/DriveController.cs @@ -323,8 +323,8 @@ public class DriveController( .Select(p => new DriveFileResponse { Id = p.Id, - Url = p.AccessUrl, - ThumbnailUrl = p.ThumbnailAccessUrl, + Url = p.RawAccessUrl, + ThumbnailUrl = p.RawThumbnailAccessUrl, Filename = p.Name, ContentType = p.Type, Sensitive = p.IsSensitive,