fix(user-representation): UserRep.addedWho nullable machen, um die Annahme des aktuellen Benutzers durch die API zu ermöglichen
This commit is contained in:
parent
fb3dedadc5
commit
6e5ba82869
@ -64,7 +64,7 @@ export interface UserRep {
|
||||
userId?: number,
|
||||
repGroupId?: number,
|
||||
groupId?: number,
|
||||
addedWho: string,
|
||||
addedWho?: string,
|
||||
repUser?: User
|
||||
user?: User,
|
||||
repGroup?: Group,
|
||||
|
||||
@ -100,7 +100,6 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
||||
userId: this.slUserId,
|
||||
groupId: this.slGroupId,
|
||||
repUserId: this.slRepUserId,
|
||||
addedWho: 'DEFAULT'
|
||||
}
|
||||
this.userRepService.create(newUserRep).subscribe({
|
||||
next: (response) => {
|
||||
@ -151,7 +150,6 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
||||
userId: this.slUserId,
|
||||
groupId: this.slGroupId,
|
||||
repGroupId: this.slRepGroupId,
|
||||
addedWho: 'DEFAULT'
|
||||
}
|
||||
this.userRepService.create(newUserRep).subscribe({
|
||||
next: (res) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user