Fix a leftover of JsonPath to Liquid conversion.

Akinori MUSHA 10 年之前
父節點
當前提交
a25e4f6c2a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/models/agents/event_formatting_agent.rb

+ 1 - 1
app/models/agents/event_formatting_agent.rb

@@ -60,7 +60,7 @@ module Agents
60 60
       So you can use it in `instructions` like this:
61 61
 
62 62
           "instructions": {
63
-            "message": "Today's conditions look like <$.conditions> with a high temperature of {{high.celsius}} degrees Celsius according to the forecast at {{pretty_date.time}}.",
63
+            "message": "Today's conditions look like {{conditions}} with a high temperature of {{high.celsius}} degrees Celsius according to the forecast at {{pretty_date.time}}.",
64 64
             "subject": "{{data}}"
65 65
           }
66 66