fix: last fix
This commit is contained in:
parent
333eeab756
commit
9fc1fadff5
@ -1,4 +1,5 @@
|
||||
using System.Text.Json;
|
||||
using System.Web;
|
||||
using JOBot.Backend.DAL.Context;
|
||||
using JOBot.Backend.DTOs.HeadHunterHook;
|
||||
using JOBot.Backend.Infrastructure.Config;
|
||||
@ -46,7 +47,7 @@ public class HeadHunterService(ILogger<HeadHunterService> logger, IOptions<HeadH
|
||||
{ "client_secret", _config.Secret },
|
||||
{ "code", authorizationCode },
|
||||
{ "grant_type", "authorization_code" },
|
||||
{ "redirect_url", "https://jobot.lisoveliy.su/auth" }
|
||||
{ "redirect_uri", HttpUtility.UrlEncode("https://jobot.lisoveliy.su/auth") }
|
||||
};
|
||||
client.BaseAddress = new UriBuilder(_config.Links.HeadHunterApiDomain)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user