Commit 5dc500a5 authored by Robert Knight's avatar Robert Knight

Clarify that `groupIds` may refer to `id` or `groupid`

Groups have two kinds of ID - the one auto-generated by h and optionally
the one supplied by the authority that created the group. The service
config can specify which groups to show using either kind.
parent 6a917296
......@@ -333,7 +333,7 @@ export default function groups(
/**
* Load the specific groups configured by the annotation service.
*
* @param {string[]} groupIds
* @param {string[]} groupIds - `id` or `groupid`s of groups to fetch
*/
async function loadServiceSpecifiedGroups(groupIds) {
// Fetch the groups that the user is a member of in one request and then
......
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