5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 09:46:21 +00:00

fix: la instancia puede repetirse

This commit is contained in:
f 2023-11-01 17:09:32 -03:00
parent b67193fbca
commit 5540232b7e
No known key found for this signature in database

View file

@ -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