refactor(UserRepCreateDto): Die Eigenschaften validFrom und validTo wurden zu not-null.
This commit is contained in:
@@ -100,6 +100,8 @@ export class UserRepresentationComponent extends BasePageComponent implements Af
|
||||
userId: this.slUserId,
|
||||
groupId: this.slGroupId,
|
||||
repUserId: this.slRepUserId,
|
||||
validFrom: new Date(),
|
||||
validTo: new Date(new Date().setDate(new Date().getDate() + 7)) //after one week
|
||||
}
|
||||
this.userRepService.create(newUserRep).subscribe({
|
||||
next: (response) => {
|
||||
|
||||
Reference in New Issue
Block a user