Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Corregido error que impedía la carga de la sesión
Browse files Browse the repository at this point in the history
  • Loading branch information
lesclaz committed Apr 17, 2023
1 parent 46ba4cc commit e380ea7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Al ser un proyecto open-source, se valoran y se reciben contribuciones de la com
Importa `suitetecsa-sdk-kotlin` en tu proyecto

```groovy
implementation("com.github.suitetecsa:suitetecsa-sdk-kotlin:0.1.5")
implementation("com.github.suitetecsa:suitetecsa-sdk-kotlin:0.1.7")
```

Importal `NautaSession`, `JsoupNautaProvider` y `NautaClient`
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "cu.suitetecsa"
version = "0.1.6"
version = "0.1.7"

publishing {
publications { // Configure el paquete de salida publicado, un proyecto puede tener múltiples salidas, pero solo una es
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ class JSoupNautaScrapper(private val session: NautaSession) : NautaScrapper {
}

override fun loadDataSession(dataSession: Map<String, String>) {
val requiredKeys = setOf("username", "CSRFHW", "wlanuserip", "ATTRIBUTTE_UUID")
val requiredKeys = setOf("username", "CSRFHW", "wlanuserip", "ATTRIBUTE_UUID")
if (!dataSession.keys.containsAll(requiredKeys)) throw LoadInfoException(
"the keys [\"username\", \"CSRFHW\", \"wlanuserip\", \"ATTRIBUTE_UUID\"] are required"
)
Expand Down

0 comments on commit e380ea7

Please sign in to comment.