forked from maiora/backend-api
Compare commits
No commits in common. "31c528c73fc235f0c7332caa6099759e0162fbb8" and "91bc2bad3034dc8ad2793b25f2c7a4494122e8aa" have entirely different histories.
31c528c73f
...
91bc2bad30
@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.5.0"
|
||||
}
|
||||
rootProject.name = "Backend_API"
|
||||
rootProject.name = "Backend_API_DSU"
|
||||
|
||||
|
@ -30,7 +30,7 @@ fun Route.auth(accountsRepository: AccountsRepositoryImpl, parametriRepository:
|
||||
logger.info("param: " +
|
||||
receivedResponse.param);
|
||||
|
||||
// Decodifica la stringa da Base64 a oggetto Credentials
|
||||
// Decodifica la stringa da Base64
|
||||
val decodedBytes = Base64.getDecoder().decode(receivedResponse.param)
|
||||
val decodedString = String(decodedBytes)
|
||||
val credentials = Json.decodeFromString<Credentials>(decodedString)
|
||||
|
Loading…
Reference in New Issue
Block a user