add template variables

This commit is contained in:
Pete Matsyburka
2025-09-12 12:17:26 +03:00
parent b58ce1b571
commit 8e8e5e0e29
10 changed files with 45 additions and 20 deletions
+1
View File
@@ -25,6 +25,7 @@ module Submissions
json = submission.as_json(SERIALIZE_PARAMS)
json['variables'] = (submission.variables || {}).as_json
json['created_by_user'] ||= nil
if with_events