Skip to content

Issue #3415232: Get rid of ENV vars in LFM Service

Richard Allen requested to merge issue/musica-3415295:1.1.x into 1.1.x

Replaced env vars with injected config factory.

Assuming the module (and drush) are installed, use config:edit to add new setting:

php docroot/vendor/bin/drush config:edit musica.settings

For example:

lastfm_api_endpoint: https://ws.audioscrobbler.com/2.0/
lastfm_api_key: [YOUR_LASTFM_KEY]
lastfm_api_secret: [YOUR_LASTFM_SECRET]

After editing settings, answer (yes) to prompt asking to import "configuration changes".

Screenshot of drush command and prompt:

image

Install config schema updated as well.

Merge request reports

Loading