add status and documents to submission get api

This commit is contained in:
Pete Matsyburka
2023-12-23 22:24:57 +02:00
parent baaf1f510f
commit 08c780d309
2 changed files with 22 additions and 12 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ module Submitters
serialize_params = {
include: {},
only: %i[id slug uuid name email phone completed_at application_key
opened_at sent_at created_at updated_at]
opened_at sent_at created_at updated_at],
methods: %i[status]
}
serialize_params[:include][:template] = { only: %i[id name created_at updated_at] } if with_template