Browse Source

Sets lastUpdatedBy to null when it is empty on github sync update (#18788)

GitOrigin-RevId: bce67f7d3dbc59facc626cc63af94df46afd8f24
Alexandre Bourdin 2 years ago
parent
commit
f265797bb1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/document-updater/app/js/DocumentManager.js

+ 1 - 1
services/document-updater/app/js/DocumentManager.js

@@ -222,7 +222,7 @@ const DocumentManager = {
       version,
       ranges,
       lastUpdatedAt,
-      lastUpdatedBy
+      lastUpdatedBy || null
     )
     await RedisManager.promises.clearUnflushedTime(docId)
     return result