add template variables

This commit is contained in:
Pete Matsyburka committed 2025-09-12 18:22:45 +03:00
1 parent b58ce1b571
commit 8e8e5e0e29
10 files changed
+45 -20

No files matched your search

+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