Commit 24cfede7 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'patch-1' into 'master'

Update merge_requests.md.

Error in 'Approve merge request'  section in API documentation

## What does this MR do?

Just fix an error in API Documentation in 'Approve Merge Request' section. 

Url in documentation : 
`POST /projects/:id/merge_requests/:merge_request_id/approvals`

Should be : 
`POST /projects/:id/merge_requests/:merge_request_id/approve`

(Verified on gitlab 8.12.7-ee 4051516)

See merge request !809
parents 137e2abb 6fb425dc
...@@ -588,7 +588,7 @@ If you are allowed to, you can approve a merge request using the following ...@@ -588,7 +588,7 @@ If you are allowed to, you can approve a merge request using the following
endpoint: endpoint:
``` ```
POST /projects/:id/merge_requests/:merge_request_id/approvals POST /projects/:id/merge_requests/:merge_request_id/approve
``` ```
**Parameters:** **Parameters:**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment