Merge branch 'updateProto' into 'main'

Update proto

See merge request v3/service/auth!54
This commit is contained in:
Sylvain Briat 2023-10-18 10:18:23 +00:00
commit 9de250668f
4 changed files with 5 additions and 5 deletions

4
package-lock.json generated
View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "@mobicoop/auth",
"version": "0.6.2",
"version": "0.6.3",
"description": "Mobicoop V3 Auth Service",
"author": "sbriat",
"private": true,

View File

@ -41,7 +41,7 @@ export class UsernameEntity extends AggregateRoot<UsernameProps> {
delete(): void {
this.addEvent(
new UsernameDeletedDomainEvent({
aggregateId: this.id,
aggregateId: this.props.name,
}),
);
}

View File

@ -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);
}