|
|
@ -35,6 +35,7 @@ export default class Now extends EventEmitter { |
|
|
|
} |
|
|
|
|
|
|
|
async create (path, { |
|
|
|
wantsPublic, |
|
|
|
quiet = false, |
|
|
|
forceNew = false, |
|
|
|
forceSync = false, |
|
|
@ -176,10 +177,11 @@ export default class Now extends EventEmitter { |
|
|
|
const res = await this._fetch('/now/create', { |
|
|
|
method: 'POST', |
|
|
|
body: { |
|
|
|
public: wantsPublic, |
|
|
|
forceNew, |
|
|
|
forceSync, |
|
|
|
name: name, |
|
|
|
description: description, |
|
|
|
description, |
|
|
|
deploymentType, |
|
|
|
registryAuthToken: authToken, |
|
|
|
// Flatten the array to contain files to sync where each nested input
|
|
|
|