We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 32a0128 + a820035 commit 693d1d0Copy full SHA for 693d1d0
AdminUI/LearningHub.Nhs.AdminUI/Controllers/ResourceController.cs
@@ -168,12 +168,13 @@ public async Task<IActionResult> UpdateDevIdDetails(ResourceVersionDevIdViewMode
168
{
169
message = "Enter a Dev id for the resource";
170
}
171
- else if (await this.resourceService.DoesDevIdExistsAsync(model.DevId))
+ else if (await this.resourceService.DoesDevIdExistsAsync(model.DevId.Trim()))
172
173
message = "Duplicate";
174
175
else
176
177
+ model.DevId = model.DevId.Trim();
178
await this.resourceService.UpdateDevIdDetailsAsync(model);
179
message = "Success";
180
0 commit comments