Skip to content

Commit

Permalink
fix: usage of userListUserId remains
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Oct 12, 2023
1 parent 0864a99 commit 73cd4bd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions packages/backend/src/core/AccountMoveService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export class AccountMoveService {
},
}).then(joinings => joinings.map(joining => joining.userListId));

const newJoinings: Map<string, { createdAt: Date; userId: string; userListId: string; userListUserId: string; }> = new Map();
const newJoinings: Map<string, { createdAt: Date; userId: string; userListId: string; }> = new Map();

// 重耇しγͺγ„γ‚ˆγ†γ«IDγ‚’η”Ÿζˆ
const genId = (): string => {
Expand All @@ -244,7 +244,6 @@ export class AccountMoveService {
createdAt: new Date(),
userId: dst.id,
userListId: joining.userListId,
userListUserId: joining.userListUserId,
});
}

Expand Down
1 change: 0 additions & 1 deletion packages/backend/src/core/UserListService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export class UserListService implements OnApplicationShutdown {
createdAt: new Date(),
userId: target.id,
userListId: list.id,
userListUserId: list.userId,
} as MiUserListJoining);

this.globalEventService.publishInternalEvent('userListMemberAdded', { userListId: list.id, memberId: target.id });
Expand Down

0 comments on commit 73cd4bd

Please sign in to comment.