mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-18 07:36:22 +00:00
fix: la instancia puede repetirse
This commit is contained in:
parent
b67193fbca
commit
5540232b7e
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ class DistributedPressPublisher < ApplicationRecord
|
|||
# @return [IO]
|
||||
attr_reader :logger_out
|
||||
|
||||
# La instancia es única
|
||||
validates_uniqueness_of :instance
|
||||
# La instancia es necesaria pero no única
|
||||
validates_presence_of :instance
|
||||
|
||||
# El token es necesario
|
||||
validates_presence_of :token
|
||||
|
|
Loading…
Reference in a new issue