Skip to content

Commit bb6687e

Browse files
fix(specs): make optional for tasks [skip-bc] (generated)
algolia/api-clients-automation#4095 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent a6796e1 commit bb6687e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/algolia/models/ingestion/task.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ def initialize(attributes = {})
159159

160160
if attributes.key?(:action)
161161
self.action = attributes[:action]
162-
else
163-
self.action = nil
164162
end
165163

166164
if attributes.key?(:cursor)

lib/algolia/models/ingestion/task_v1.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ def initialize(attributes = {})
143143

144144
if attributes.key?(:action)
145145
self.action = attributes[:action]
146-
else
147-
self.action = nil
148146
end
149147

150148
if attributes.key?(:cursor)

0 commit comments

Comments
 (0)