Преглед на файлове

fix(segments): return empty string instead of "null" for text, log, and markdown properties (#9651)

-LAN- преди 5 месеца
родител
ревизия
5267f34e76
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      api/core/variables/segments.py

+ 3 - 3
api/core/variables/segments.py

@@ -56,15 +56,15 @@ class NoneSegment(Segment):
 
     @property
     def text(self) -> str:
-        return "null"
+        return ""
 
     @property
     def log(self) -> str:
-        return "null"
+        return ""
 
     @property
     def markdown(self) -> str:
-        return "null"
+        return ""
 
 
 class StringSegment(Segment):