1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Removes to do and keep the original option (#29664).

git-svn-id: https://svn.redmine.org/redmine/trunk@24076 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Marius Balteanu 2025-10-27 21:03:28 +00:00
parent 0ab30f1351
commit 124ffa3e8b

View File

@ -29,7 +29,6 @@ class Webhook < ApplicationRecord
end
belongs_to :user
# TODO: Confirm if we should keep this as it is or we should move to has_many :through
has_and_belongs_to_many :projects # rubocop:disable Rails/HasAndBelongsToMany
validates :url, presence: true, webhook_endpoint: true, length: { maximum: 2000 }