mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2024-11-25 11:24:54 -06:00
[APIv1/Mobidziennik] Add API key.
This commit is contained in:
parent
fa99b7fd11
commit
cf69273de1
@ -105,6 +105,7 @@ public class Mobidziennik implements EdziennikInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static final String TAG = "api.Mobidziennik";
|
private static final String TAG = "api.Mobidziennik";
|
||||||
|
private static final String API_KEY = "szkolny_eu_72c7dbc8b97f1e5dd2d118cacf51c2b8543d15c0f65b7a59979adb0a1296b235d7febb826dd2a28688def6efe0811b924b04d7f3c7b7d005354e06dc56815d57";
|
||||||
|
|
||||||
private App app;
|
private App app;
|
||||||
private Context activityContext = null;
|
private Context activityContext = null;
|
||||||
@ -421,6 +422,7 @@ public class Mobidziennik implements EdziennikInterface {
|
|||||||
.addParameter("login", loginUsername)
|
.addParameter("login", loginUsername)
|
||||||
.addParameter("haslo", loginPassword)
|
.addParameter("haslo", loginPassword)
|
||||||
.addParameter("token", app.appConfig.fcmTokens.get(LOGIN_TYPE_MOBIDZIENNIK).first)
|
.addParameter("token", app.appConfig.fcmTokens.get(LOGIN_TYPE_MOBIDZIENNIK).first)
|
||||||
|
.addParameter("ta_api", API_KEY)
|
||||||
.post()
|
.post()
|
||||||
.callback(new TextCallbackHandler() {
|
.callback(new TextCallbackHandler() {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user