diff --git a/app/controllers/provider_prefixes_controller.rb b/app/controllers/provider_prefixes_controller.rb index 6e3e8181f..a83af4f1b 100644 --- a/app/controllers/provider_prefixes_controller.rb +++ b/app/controllers/provider_prefixes_controller.rb @@ -112,7 +112,7 @@ def update end def destroy - message = "Provider prefix #{@provider_prefix.uid} deleted." + message = "Provider Prefix #{@provider_prefix.uid} deleted." if @provider_prefix.destroy if @provider_prefix.__elasticsearch__.delete_document.dig("result") != "deleted" logger.error "Error deleting Provider Prefix #{@provider_prefix.uid} from Elasticsearch index."