GCM Ok[Debug]
This commit is contained in:
parent
6a7a78558e
commit
b2fa0b34e8
16 changed files with 126 additions and 22 deletions
|
|
@ -293,7 +293,8 @@ namespace BookAStar.Droid
|
|||
public TAnswer InvokeApi<TAnswer>(string method, object arg)
|
||||
{
|
||||
using (var m =
|
||||
new SimpleJsonPostMethod(method,
|
||||
new SimpleJsonPostMethod(
|
||||
method, "Bearer "+
|
||||
MainSettings.CurrentUser.YavscTokens.AccessToken
|
||||
))
|
||||
{
|
||||
|
|
@ -304,9 +305,10 @@ namespace BookAStar.Droid
|
|||
public object InvokeApi(string method, object arg)
|
||||
{
|
||||
using (var m =
|
||||
new SimpleJsonPostMethod(method,
|
||||
new SimpleJsonPostMethod(
|
||||
method, "Bearer " +
|
||||
MainSettings.CurrentUser.YavscTokens.AccessToken
|
||||
))
|
||||
))
|
||||
{
|
||||
return m.InvokeJson(arg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue