[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)
|
if (logExisting)
|
||||||
logger.LogDebug("Storing file {uri} for user {userId}", uri, user.Id);
|
logger.LogDebug("Storing file {uri} for user {userId}", uri, user.Id);
|
||||||
|
|
||||||
|
if (string.IsNullOrWhiteSpace(description))
|
||||||
|
description = null;
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Do we already have the file?
|
// Do we already have the file?
|
||||||
|
|
Loading…
Add table
Reference in a new issue