@cobaltio/cobalt-js 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cobalt.js +2 -2
- package/package.json +1 -1
package/cobalt.js
CHANGED
|
@@ -218,8 +218,8 @@ class Cobalt {
|
|
|
218
218
|
* @param {ConfigPayload} [payload] The payload object for config.
|
|
219
219
|
* @returns {Promise<Config>} The specified config.
|
|
220
220
|
*/
|
|
221
|
-
async config(slug,
|
|
222
|
-
const res = await fetch(`${this.baseUrl}/api/v2/application/${slug}/installation
|
|
221
|
+
async config(slug, payload) {
|
|
222
|
+
const res = await fetch(`${this.baseUrl}/api/v2/application/${slug}/installation`, {
|
|
223
223
|
method: "POST",
|
|
224
224
|
headers: {
|
|
225
225
|
authorization: `Bearer ${this.token}`,
|