Skip to content
Snippets Groups Projects

Update iteration cadence mutation [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Mario Celi requested to merge update-iteration-cadence-mutation into master
Compare and Show latest version
2 files
+ 7
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -43,7 +43,7 @@ def resolve(id:, group_path:, **attrs)
response = ::Iterations::Cadences::UpdateService.new(group, current_user, attrs).execute(iteration_cadence)
response_object = response.success? ? response.payload[:iteration_cadence] : nil
response_errors = response.error? ? (response.payload[:errors] || response.message) : []
response_errors = response.error? ? Array(response.payload[:errors] || response.message) : []
{
iteration_cadence: response_object,
Loading