Merge branch 'updateProto' into 'main'
Update proto See merge request v3/service/auth!54
This commit is contained in:
commit
9de250668f
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@mobicoop/auth",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mobicoop/auth",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"license": "AGPL",
|
||||
"dependencies": {
|
||||
"@golevelup/nestjs-rabbitmq": "^4.0.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mobicoop/auth",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"description": "Mobicoop V3 Auth Service",
|
||||
"author": "sbriat",
|
||||
"private": true,
|
||||
|
|
|
@ -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