put in new function call

This commit is contained in:
2026-09-26 09:23:54 +10:00
parent f3b1d901a8
commit 1a9316ed6f
2 changed files with 2 additions and 2 deletions
@@ -122,7 +122,7 @@ public class FileUploadController : ControllerBase
return NotFound("not found image");
}
[HttpPost("[action]")]
public async Task<IActionResult> DownloadPersonPhotoPerson(DownloadFileCriteria criteria)
public async Task<IActionResult> DownloadPersonPhoto(DownloadFileCriteria criteria)
{
var result = await _personPhoto.DownloadPersonPhotoPerson(criteria.Id,criteria.PhotoType ,criteria.FileName);
+1 -1
View File
@@ -34,7 +34,7 @@ export class ImageDisplayComponent implements OnInit, OnDestroy {
}
loadImage(fileName: string | null, personId: number, photoType: number): void {
const download = this.personService.downloadPersonPhoto(fileName!, personId, photoType);
const download = this.personService.downloadPersonPhoto64(fileName!, personId, photoType);
this.subscription.add(download.subscribe({
next: x => {
if (x.statusCode == 1)