[backend/drive] Fix logExisting oversight causing uris not to be logged in all cases
This commit is contained in:
parent
9f356b8139
commit
dd062c6752
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ public class DriveService(
|
|||
await db.SaveChangesAsync();
|
||||
return clonedFile;
|
||||
}
|
||||
|
||||
if (!logExisting)
|
||||
logger.LogDebug("Storing file {uri} for user {userId}", uri, user.Id);
|
||||
|
||||
var res = await httpClient.GetAsync(uri);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue