boilerplate-javascript icon indicating copy to clipboard operation
boilerplate-javascript copied to clipboard

enhancement: update contentful module

Open theworkflow opened this issue 6 years ago • 0 comments

Summary

This pull request is to update the contentful module. With this update, more configuration for the client can be set.

Description

With the update to the module, I've specified the environment in the configuration of the client to be master. By default, this is the environment used if not provided. I just wanted to identify two things

  • The environment can be configured.
  • The environment can be set based on what envs the accessToken has access to.

Motivation and Context

I have API keys that talk to specific environments, but I didn't know how to set which environment within my client. After downloading the example boilerplate, I set the environment key in the cofiguration, but it was still communicating with the master environment. Since the contentful` module was out-of-date, I decided to update it.

theworkflow avatar Jul 19 '18 15:07 theworkflow