mastodon-glitch/lib/elasticsearch/client_extensions.rb

12 lines
212 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Elasticsearch
module ClientExtensions
def verify_elasticsearch
@verified = true
end
end
end
Elasticsearch::Client.prepend(Elasticsearch::ClientExtensions)