Issue
When you import content items and set the publish flag to true, the import of items works, but then you get the error message "Failed to initiate publish for ${item.label}: ${e.toString()}" for each content item.
Steps to replicate
Run the command dc-cli content item import --publish true {credentials}
Root cause
The auth client in src/common/import/publish-queue.ts:47 requires AUTH_URL environment variable and this is not set by default.
Workaround
Set the environment variable value in your runtime environment.
Possible resolution paths
A) Initialise the auth client by using a configuration object, as happens within the ContentHub src/common/ch-api/ContentHub.ts:75.
B) Fall back to a default value in the client, as in src/common/ch-api/oauth2/services/OAuth2Client.ts:22