Class: configMigrationHelper

Adaptor~configMigrationHelper(state) → {object}

new configMigrationHelper(state) → {object}

Migrates `apiUrl` to `hostUrl` if `hostUrl` is `blank`. For `OpenFn.org` users with the `old-style configuration`.
Parameters:
Name Type Description
state object the runtime state
Source:
Returns:
Type
object
Example
configMigrationHelper(state)