Skip to content

Commit

Permalink
fix(specs): make optional for tasks [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4095

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Nov 12, 2024
1 parent a6796e1 commit bb6687e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions lib/algolia/models/ingestion/task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ def initialize(attributes = {})

if attributes.key?(:action)
self.action = attributes[:action]
else
self.action = nil
end

if attributes.key?(:cursor)
Expand Down
2 changes: 0 additions & 2 deletions lib/algolia/models/ingestion/task_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,6 @@ def initialize(attributes = {})

if attributes.key?(:action)
self.action = attributes[:action]
else
self.action = nil
end

if attributes.key?(:cursor)
Expand Down

0 comments on commit bb6687e

Please sign in to comment.