mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-11 08:22:40 +00:00
Merge branch 'updateProto' into 'main'
Update proto See merge request v3/service/auth!54
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user