use HttpClient rather than IHttpClientFactory as IHttpClientFactory does not pass cookies in .NET MAUI
This commit is contained in:
		@ -9,7 +9,7 @@ namespace [Owner].Module.[Module].Services
 | 
			
		||||
{
 | 
			
		||||
    public class [Module]Service : ServiceBase, I[Module]Service
 | 
			
		||||
    {
 | 
			
		||||
        public [Module]Service(IHttpClientFactory http, SiteState siteState) : base(http, siteState) { }
 | 
			
		||||
        public [Module]Service(HttpClient http, SiteState siteState) : base(http, siteState) { }
 | 
			
		||||
 | 
			
		||||
        private string Apiurl => CreateApiUrl("[Module]");
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user