From 5267f34e76d2ee8e224e557ef98662b364729f92 Mon Sep 17 00:00:00 2001 From: -LAN- Date: Tue, 22 Oct 2024 17:52:22 +0800 Subject: [PATCH] fix(segments): return empty string instead of "null" for text, log, and markdown properties (#9651) --- api/core/variables/segments.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/core/variables/segments.py b/api/core/variables/segments.py index 782798411e..b71882b043 100644 --- a/api/core/variables/segments.py +++ b/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):