[backend/api] Correctly return file ID for drive folder files
This commit is contained in:
parent
76054927f7
commit
a2e3c475d0
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ public class DriveController(
|
||||||
.Where(p => p.FolderId == id && p.UserId == user.Id)
|
.Where(p => p.FolderId == id && p.UserId == user.Id)
|
||||||
.Select(p => new DriveFileResponse
|
.Select(p => new DriveFileResponse
|
||||||
{
|
{
|
||||||
Id = p.Name,
|
Id = p.Id,
|
||||||
Url = p.AccessUrl,
|
Url = p.AccessUrl,
|
||||||
ThumbnailUrl = p.ThumbnailAccessUrl,
|
ThumbnailUrl = p.ThumbnailAccessUrl,
|
||||||
Filename = p.Name,
|
Filename = p.Name,
|
||||||
|
|
Loading…
Add table
Reference in a new issue