Skip to content

Commit

Permalink
Fix project events not allowing approved action (#788)
Browse files Browse the repository at this point in the history
Co-authored-by: Thibault GRANADA <thibault.granada@koesio.com>
  • Loading branch information
TZK- and Thibault GRANADA authored Mar 17, 2024
1 parent 7d52be1 commit f6fcad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Api/Projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ public function events($project_id, array $parameters = [])
};

$resolver->setDefined('action')
->setAllowedValues('action', ['created', 'updated', 'closed', 'reopened', 'pushed', 'commented', 'merged', 'joined', 'left', 'destroyed', 'expired'])
->setAllowedValues('action', ['created', 'updated', 'closed', 'reopened', 'pushed', 'commented', 'merged', 'joined', 'left', 'destroyed', 'expired', 'approved'])
;
$resolver->setDefined('target_type')
->setAllowedValues('target_type', ['issue', 'milestone', 'merge_request', 'note', 'project', 'snippet', 'user'])
Expand Down

0 comments on commit f6fcad6

Please sign in to comment.