From bd59015dc861e1b814177986b77b5ff7b113c9d5 Mon Sep 17 00:00:00 2001 From: Andreas Tschabuschnig Date: Mon, 22 Jan 2024 15:05:16 +0800 Subject: [PATCH] fix(versions) #61: correct interface role for module tokens --- .../com/izivia/ocpi/toolkit/modules/tokens/TokensCpoServer.kt | 2 +- .../com/izivia/ocpi/toolkit/modules/tokens/TokensEmspServer.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensCpoServer.kt b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensCpoServer.kt index 8c75ac8..d13f63a 100644 --- a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensCpoServer.kt +++ b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensCpoServer.kt @@ -21,7 +21,7 @@ class TokensCpoServer( ) : OcpiSelfRegisteringModuleServer( ocpiVersion = VersionNumber.V2_2_1, moduleID = ModuleID.tokens, - interfaceRole = InterfaceRole.SENDER, + interfaceRole = InterfaceRole.RECEIVER, versionsRepository = versionsRepository, basePathOverride = basePathOverride ) { diff --git a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensEmspServer.kt b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensEmspServer.kt index f13fd4f..3e0d179 100644 --- a/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensEmspServer.kt +++ b/ocpi-toolkit-2.2.1/src/main/kotlin/com/izivia/ocpi/toolkit/modules/tokens/TokensEmspServer.kt @@ -22,7 +22,7 @@ class TokensEmspServer( ) : OcpiSelfRegisteringModuleServer( ocpiVersion = VersionNumber.V2_2_1, moduleID = ModuleID.tokens, - interfaceRole = InterfaceRole.RECEIVER, + interfaceRole = InterfaceRole.SENDER, versionsRepository = versionsRepository, basePathOverride = basePathOverride ) {