(workIds, primaryRecord, action = 'create-merged', comment = null)
| 225 | * @returns {Promise<Response>} |
| 226 | */ |
| 227 | export function createMergeRequest(workIds, primaryRecord, action = 'create-merged', comment = null) { |
| 228 | const normalizedIds = prepareIds(workIds).join(','); |
| 229 | return createRequest(normalizedIds, action, REQUEST_TYPES['WORK_MERGE'], comment, primaryRecord); |
| 230 | } |
| 231 | |
| 232 | /** |
| 233 | * Normalizes and sorts an array of OLIDs. |
nothing calls this directly
no test coverage detected