mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-10 22:22:40 +00:00
fix proto
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user