From 0b6e8691a59508fbb4e2607291037955156bf7e7 Mon Sep 17 00:00:00 2001 From: Swapnamol Abraham Date: Tue, 8 Apr 2025 14:15:41 +0100 Subject: [PATCH] Modified EF call with SP call --- LearningHub.Nhs.UserApi.Services/RegistrationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LearningHub.Nhs.UserApi.Services/RegistrationService.cs b/LearningHub.Nhs.UserApi.Services/RegistrationService.cs index 7dccbaf..f3dccd3 100644 --- a/LearningHub.Nhs.UserApi.Services/RegistrationService.cs +++ b/LearningHub.Nhs.UserApi.Services/RegistrationService.cs @@ -336,7 +336,7 @@ public async Task RegisterUser(RegistrationRequestV ExternalSystemId = registrationRequest.ExternalSystemId.Value, }; - await this.externalSystemUserRepository.CreateAsync(userId, userExternalSystem); + await this.externalSystemUserRepository.CreateExternalSystemUserAsync(userExternalSystem); } if (registrationRequest.IsExternalUser == false)