Save web app metadata explicitly
This commit is contained in:
@@ -12,8 +12,6 @@ class AppCatalog::WebApp < ApplicationRecord
|
||||
validates :url, format: { with: URI.regexp },
|
||||
if: Proc.new { |a| a.url.present? }
|
||||
|
||||
before_create :update_metadata
|
||||
|
||||
def update_metadata
|
||||
AppCatalogManager::UpdateMetadata.call(self)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user