From 3a306f3b3a8c9e9e8b81d3003fbb58757d53d098 Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 29 Apr 2022 10:55:41 +0900 Subject: [PATCH] release 1.13.1: fix scope --- README.md | 6 +++--- build.gradle | 2 +- src/main/kotlin/be/zvz/kotlininside/security/Auth.kt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 158e7809..fd20236a 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ #### < Gradle 7 ```groovy -compile 'be.zvz:KotlinInside:1.13.0' +compile 'be.zvz:KotlinInside:1.13.1' ``` #### Gradle 7+ ```groovy -implementation 'be.zvz:KotlinInside:1.13.0' +implementation 'be.zvz:KotlinInside:1.13.1' ``` ### Maven @@ -25,7 +25,7 @@ implementation 'be.zvz:KotlinInside:1.13.0' be.zvz KotlinInside - 1.13.0 + 1.13.1 ``` diff --git a/build.gradle b/build.gradle index 5eb6f725..29fe7cfa 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ boolean isDev = false String libName = 'KotlinInside' String libDevVersion = isDev ? '-SNAPSHOT' : '' -String libVersion = "1.13.0$libDevVersion" +String libVersion = "1.13.1$libDevVersion" String libDesc = 'Unofficial DCInside API written in Kotlin' group = 'be.zvz' diff --git a/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt b/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt index a1961720..739b46b6 100644 --- a/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt +++ b/src/main/kotlin/be/zvz/kotlininside/security/Auth.kt @@ -100,7 +100,7 @@ class Auth { .addBodyParameter("X-gcm.topic", scope) .addBodyParameter("X-app_ver", Const.DC_APP_VERSION_CODE) .addBodyParameter("X-appid", fid) - .addBodyParameter("X-scope", "/topics/DcRefreshRemoteConfig") + .addBodyParameter("X-scope", scope) .addBodyParameter("X-Goog-Firebase-Installations-Auth", installationToken) .addBodyParameter("X-gmp_app_id", Const.Firebase.APP_ID) .addBodyParameter("X-firebase-app-name-hash", Const.Register3.X_FIREBASE_APP_NAME_HASH)