[backend/drive] Normalize empty / whitespace alt text to null
This commit is contained in:
parent
ce646e84d9
commit
48e688e514
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ public class DriveService(
|
|||
if (logExisting)
|
||||
logger.LogDebug("Storing file {uri} for user {userId}", uri, user.Id);
|
||||
|
||||
if (string.IsNullOrWhiteSpace(description))
|
||||
description = null;
|
||||
|
||||
try
|
||||
{
|
||||
// Do we already have the file?
|
||||
|
|
Loading…
Add table
Reference in a new issue