fix proto
This commit is contained in:
parent
894a113975
commit
3f50db23fc
|
@ -41,7 +41,7 @@ export class UsernameEntity extends AggregateRoot<UsernameProps> {
|
|||
delete(): void {
|
||||
this.addEvent(
|
||||
new UsernameDeletedDomainEvent({
|
||||
aggregateId: this.id,
|
||||
aggregateId: this.props.name,
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@ service AuthenticationService {
|
|||
rpc AddUsername(UsernameWithId) returns (Id);
|
||||
rpc UpdatePassword(Password) returns (Id);
|
||||
rpc UpdateUsername(UsernameWithId) returns (Id);
|
||||
rpc DeleteUsername(Name) returns (Id);
|
||||
rpc DeleteUsername(Name) returns (Empty);
|
||||
rpc Delete(UserId) returns (Empty);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue