Merge pull request #4089 from W6HBR/dev

Fix incorrect parameter passed from ProfileService to ProfileController
This commit is contained in:
Shaun Walker 2024-04-01 09:53:48 -04:00 committed by GitHub
commit 60ae1ec1e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@ namespace Oqtane.Services
public async Task<Profile> UpdateProfileAsync(Profile profile)
{
return await PutJsonAsync<Profile>($"{Apiurl}/{profile.SiteId}", profile);
return await PutJsonAsync<Profile>($"{Apiurl}/{profile.ProfileId}", profile);
}
public async Task DeleteProfileAsync(int profileId)
{