mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Update backend/src/apis/IotaConnector.ts
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
parent
9db14ec5c6
commit
20a9de431b
@ -32,8 +32,8 @@ class IotaClientSingleton {
|
||||
logger.info(`Iota are disabled via config...`)
|
||||
return null
|
||||
}
|
||||
if (!IotaClientSingleton.IotaClint) {
|
||||
IotaClientSingleton.IotaClint = new ClientBuilder().node(CONFIG.IOTA_API_URL).build()
|
||||
if (!IotaClientSingleton.IotaClient) {
|
||||
IotaClientSingleton.IotaClient = new ClientBuilder().node(CONFIG.IOTA_API_URL).build()
|
||||
}
|
||||
|
||||
return IotaClientSingleton.IotaClint
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user