mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 15:42:32 -05:00
fix expired
This commit is contained in:
1 parent
047c192988
commit
14fa8fc8e7
2 files changed
+2
-2
No files matched your search
@@ -71,7 +71,7 @@ class Submission < ApplicationRecord
|
||||
.and(Submitter.arel_table[:completed_at].eq(nil))).select(1).arel.exists)
|
||||
}
|
||||
scope :declined, -> { joins(:submitters).where.not(submitters: { declined_at: nil }).group(:id) }
|
||||
scope :expired, -> { where(expire_at: ..Time.current) }
|
||||
scope :expired, -> { pending.where(expire_at: ..Time.current) }
|
||||
|
||||
enum :source, {
|
||||
invite: 'invite',
|
||||
|
||||
Reference in new issue
Block a user