refactor(vacay): the invite and share tools read the caller's name from UsersRepository

VacayMcp injected AuthService only to call getCurrentUser for the caller's
username and email before sending an invite or sharing the calendar, which
kept VacayModule importing AuthModule. UsersRepository.findUsernameEmail
answers the same two fields (and undefined for an unknown id, which the
tools already refuse as 'User not found.').
This commit is contained in:
Maurice
2026-10-10 12:46:49 +02:00
parent 806f3c8e62
commit 734cbc2a94
4 changed files with 12 additions and 45 deletions
@@ -16,16 +16,13 @@
"places -> accommodations",
"places -> assignments",
"plugins -> trips",
"plugins -> vacay",
"reservations -> integrations",
"trip-members -> auth",
"trip-members -> trips",
"trip-read-model -> trip-members",
"trip-read-model -> trips",
"trips -> trip-members",
"trips -> trip-read-model",
"trips -> vacay",
"vacay -> auth"
"trips -> trip-read-model"
],
"sharedImportsDomain": [
"nest/common/idempotency-cleanup.job.ts -> nest/audit/audit-log.logger.ts",