Save web app metadata explicitly

This commit is contained in:
Râu Cao
2023-10-23 16:43:18 +02:00
parent e508407df4
commit e964e7e52c
2 changed files with 2 additions and 2 deletions

View File

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