Skip to content

Commit f5f3d19

Browse files
Merge branch 'main' into renovate/ruby-4.x
2 parents a8f5df7 + 9d9cfbd commit f5f3d19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/aspera/api/aoc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def expand_access_levels(levels)
213213
when 'upload' then %w[mkdir write]
214214
when Array
215215
Aspera.assert_array_all(levels, String){'access_levels'}
216-
levels.each{ |level| Aspera.assert_value(level, Node::ACCESS_LEVELS){'access_level'}}
216+
levels.each{ |level| Aspera.assert_values(level, Node::ACCESS_LEVELS){'access_level'}}
217217
levels
218218
else Aspera.error_unexpected_value(levels){"access_levels must be a list of #{Node::ACCESS_LEVELS.join(', ')} or one of edit, preview, download, upload"}
219219
end

0 commit comments

Comments
 (0)