We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6df363d commit d00e5c6Copy full SHA for d00e5c6
src/main/kotlin/com/hrv/mart/apigatewayadmin/service/AuthService.kt
@@ -11,10 +11,11 @@ class AuthService (
11
private val authRepository: AuthRepository
12
)
13
{
14
+ private val specialCharCode= 34
15
fun login(appwriteJWT: String, response: ServerHttpResponse) =
16
authRepository
17
.createAdminAuth(
- jwt = appwriteJWT,
18
+ jwt = appwriteJWT.replace(specialCharCode.toChar().toString(), ""),
19
response = response
20
21
}
0 commit comments