File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ struct WebhookConfigModal
100
100
" <p>Path: {{&request.path}}</p>" ,
101
101
" <p>User-Agent: {{#request.header}}user-agent{{/request.header}}</p>" ,
102
102
" <p>Client: {{request.remote_addr}}</p>" ,
103
- " <p>{{&response. command_output}}</p>"
103
+ " <p>{{&command_output}}</p>"
104
104
},
105
105
},
106
106
.command_timeout = 8000 ,
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ int main(int argc, char **argv)
173
173
auto rendered_command = kainjow::mustache::mustache{command}.render (context);
174
174
auto command_output_future = PlatformHelper::getInstance ().executeCommandAsync (rendered_command);
175
175
context.set (" rendered_command" , rendered_command);
176
- response .set (" command_output" , kainjow::mustache::lambda_t {[&command_output_future, command_timeout](const std::string &)
176
+ context .set (" command_output" , kainjow::mustache::lambda_t {[&command_output_future, command_timeout](const std::string &)
177
177
{
178
178
if (command_timeout > 0 )
179
179
{
@@ -195,7 +195,6 @@ int main(int argc, char **argv)
195
195
return command_output_future.get ();
196
196
}
197
197
}});
198
- context.set (" response" , response); // re-assign
199
198
200
199
kainjow::mustache::mustache content_tmpl{content};
201
200
auto result = content_tmpl.render (context);
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class VersionHelper
11
11
{
12
12
VERSION_MAJOR = 0 ,
13
13
VERSION_MINOR = 2 ,
14
- VERSION_PATCH = 2 ,
14
+ VERSION_PATCH = 4 ,
15
15
};
16
16
17
17
public:
You can’t perform that action at this time.
0 commit comments