mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-02-22 16:30:44 +00:00
fix proto
This commit is contained in:
@@ -41,7 +41,7 @@ export class UsernameEntity extends AggregateRoot<UsernameProps> {
|
|||||||
delete(): void {
|
delete(): void {
|
||||||
this.addEvent(
|
this.addEvent(
|
||||||
new UsernameDeletedDomainEvent({
|
new UsernameDeletedDomainEvent({
|
||||||
aggregateId: this.id,
|
aggregateId: this.props.name,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ service AuthenticationService {
|
|||||||
rpc AddUsername(UsernameWithId) returns (Id);
|
rpc AddUsername(UsernameWithId) returns (Id);
|
||||||
rpc UpdatePassword(Password) returns (Id);
|
rpc UpdatePassword(Password) returns (Id);
|
||||||
rpc UpdateUsername(UsernameWithId) returns (Id);
|
rpc UpdateUsername(UsernameWithId) returns (Id);
|
||||||
rpc DeleteUsername(Name) returns (Id);
|
rpc DeleteUsername(Name) returns (Empty);
|
||||||
rpc Delete(UserId) returns (Empty);
|
rpc Delete(UserId) returns (Empty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user