parent
473a9a5527
commit
fcef0ab6fb
@ -571,7 +571,7 @@ namespace RMuseum.Services.Implementation
|
||||
using (HttpClient secureClient = new HttpClient())
|
||||
{
|
||||
secureClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", loggedOnUser.Token);
|
||||
var unsyncedResponse = await secureClient.GetAsync("https://api.naskban.ir/api/pdf/ganjoor/matching");
|
||||
var unsyncedResponse = await secureClient.GetAsync("https://api.naskban.ir/api/pdf/ganjoor/matching?notStarted=false¬Finished=false");
|
||||
if (!unsyncedResponse.IsSuccessStatusCode)
|
||||
{
|
||||
return new RServiceResult<int>(0, "unsync error: " + JsonConvert.DeserializeObject<string>(await unsyncedResponse.Content.ReadAsStringAsync()));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user