add signature id

This commit is contained in:
Pete Matsyburka
2024-07-24 20:55:35 +03:00
parent 09074e2ac0
commit 43db15b350
18 changed files with 236 additions and 12 deletions
@@ -16,7 +16,7 @@ module Api
cookies.encrypted[:signature_uuids] = build_new_cookie_signatures_json(submitter, attachment)
end
render json: attachment.as_json(only: %i[uuid], methods: %i[url filename content_type])
render json: attachment.as_json(only: %i[uuid created_at], methods: %i[url filename content_type])
end
def build_new_cookie_signatures_json(submitter, attachment)