about summary refs log tree commit diff
path: root/app/models/subscription.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/subscription.rb')
-rw-r--r--app/models/subscription.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/subscription.rb b/app/models/subscription.rb
index 7f2eeab91..ea1173160 100644
--- a/app/models/subscription.rb
+++ b/app/models/subscription.rb
@@ -19,7 +19,7 @@ class Subscription < ApplicationRecord
   MIN_EXPIRATION = 1.day.to_i
   MAX_EXPIRATION = 30.days.to_i
 
-  belongs_to :account, required: true
+  belongs_to :account
 
   validates :callback_url, presence: true
   validates :callback_url, uniqueness: { scope: :account_id }