mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
rename deleted_at to archived_at
This commit is contained in:
1 parent
cfb1bdcd52
commit
6d7d8ae87c
24 files changed
+71
-65
No files matched your search
@@ -38,9 +38,9 @@ module Api
|
||||
end
|
||||
|
||||
def destroy
|
||||
@template.update!(deleted_at: Time.current)
|
||||
@template.update!(archived_at: Time.current)
|
||||
|
||||
render json: @template.as_json(only: %i[id deleted_at])
|
||||
render json: @template.as_json(only: %i[id archived_at])
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in new issue
Block a user