mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-27 01:03:08 +00:00
rename
This commit is contained in:
parent
50d4de19f0
commit
4a88cb5968
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ export class UserGroupRepository extends Repository<UserGroup> {
|
||||||
id: userGroup.id,
|
id: userGroup.id,
|
||||||
createdAt: userGroup.createdAt.toISOString(),
|
createdAt: userGroup.createdAt.toISOString(),
|
||||||
name: userGroup.name,
|
name: userGroup.name,
|
||||||
owner: userGroup.userId,
|
ownerId: userGroup.userId,
|
||||||
userIds: users.map(x => x.userId)
|
userIds: users.map(x => x.userId)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ export const packedUserGroupSchema = {
|
||||||
optional: bool.false, nullable: bool.false,
|
optional: bool.false, nullable: bool.false,
|
||||||
description: 'The name of the UserGroup.'
|
description: 'The name of the UserGroup.'
|
||||||
},
|
},
|
||||||
owner: {
|
ownerId: {
|
||||||
type: types.string,
|
type: types.string,
|
||||||
nullable: bool.false, optional: bool.false,
|
nullable: bool.false, optional: bool.false,
|
||||||
format: 'id',
|
format: 'id',
|
||||||
|
|
Loading…
Reference in a new issue