We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0fe49a commit db0b67cCopy full SHA for db0b67c
src/Auth.js
@@ -257,9 +257,15 @@ Auth.prototype._generateRoleGraphPipeline = function () {
257
},
258
259
260
+ {
261
+ $group: {
262
+ _id: { name: '$name' },
263
+ },
264
265
{
266
$project: {
- name: 1,
267
+ _id: 0,
268
+ name: '$_id.name',
269
270
271
],
@@ -284,9 +290,15 @@ Auth.prototype._generateRoleGraphPipeline = function () {
284
290
285
291
286
292
293
294
295
296
297
287
298
288
299
289
300
301
302
303
304
0 commit comments