mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
rename
This commit is contained in:
parent
c3cfba8372
commit
f4956548bb
@ -21,7 +21,7 @@ export class UserGroupRepository extends Repository<UserGroup> {
|
||||
id: userGroup.id,
|
||||
createdAt: userGroup.createdAt.toISOString(),
|
||||
name: userGroup.name,
|
||||
owner: userGroup.userId,
|
||||
ownerId: userGroup.userId,
|
||||
userIds: users.map(x => x.userId)
|
||||
};
|
||||
}
|
||||
@ -49,7 +49,7 @@ export const packedUserGroupSchema = {
|
||||
optional: bool.false, nullable: bool.false,
|
||||
description: 'The name of the UserGroup.'
|
||||
},
|
||||
owner: {
|
||||
ownerId: {
|
||||
type: types.string,
|
||||
nullable: bool.false, optional: bool.false,
|
||||
format: 'id',
|
||||
|
Loading…
Reference in New Issue
Block a user