|
|
@@ -2,7 +2,7 @@
|
|
2
|
2
|
|
|
3
|
3
|
import { _baseRecord } from '../index.js'
|
|
4
|
4
|
import { groupingSchema } from './grouping.schema.js'
|
|
5
|
|
-// import { revealProfileInfo } from '../../services/profile.service.js'
|
|
|
5
|
+import { revealProfileInfo } from '../../services/profile.service.js'
|
|
6
|
6
|
|
|
7
|
7
|
/** Class representing a grouping */
|
|
8
|
8
|
class Grouping extends _baseRecord {
|
|
|
@@ -41,7 +41,7 @@ class Grouping extends _baseRecord {
|
|
41
|
41
|
return [this.profile.profile_id]
|
|
42
|
42
|
}
|
|
43
|
43
|
async reveal(profileId, tagId) {
|
|
44
|
|
- // return await revealProfileInfo(profileId, tagId)
|
|
|
44
|
+ return await revealProfileInfo(this.grouping_id, profileId, tagId)
|
|
45
|
45
|
}
|
|
46
|
46
|
/**
|
|
47
|
47
|
* validate this record
|