Skip to content

Commit d0c1290

Browse files
Merge pull request #152 from TechnologyEnhancedLearning/Develop/Fixes/TD-5407-SQL-Exception
Modified EF call with SP call
2 parents 53c5e61 + 0b6e869 commit d0c1290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LearningHub.Nhs.UserApi.Services/RegistrationService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public async Task<LearningHubValidationResult> RegisterUser(RegistrationRequestV
336336
ExternalSystemId = registrationRequest.ExternalSystemId.Value,
337337
};
338338

339-
await this.externalSystemUserRepository.CreateAsync(userId, userExternalSystem);
339+
await this.externalSystemUserRepository.CreateExternalSystemUserAsync(userExternalSystem);
340340
}
341341

342342
if (registrationRequest.IsExternalUser == false)

0 commit comments

Comments
 (0)