Skip to content

Commit

Permalink
Remove fulfil/conversion references from model
Browse files Browse the repository at this point in the history
  • Loading branch information
swanny85 committed Dec 22, 2023
1 parent ebf3bc7 commit eff44a2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/fulfil/model.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

require 'fulfil/query'
require 'fulfil/conversions'

module Fulfil
class Model
Expand Down Expand Up @@ -29,7 +28,6 @@ def search(
offset: nil,
sort: nil
)
domain = Fulfil::Conversions.update_date_and_datetime_fields(domain)

@client.search(
model: model,
Expand All @@ -42,8 +40,6 @@ def search(
end

def count(domain:)
domain = Fulfil::Conversions.update_date_and_datetime_fields(domain)

@client.count(model: model_name, domain: domain)
end

Expand Down

0 comments on commit eff44a2

Please sign in to comment.