mirror of
https://github.com/fluxscape/fluxscape.git
synced 2026-01-11 23:02:55 +01:00
feat: Include project info when deploying Cloud Functions (#19)
This commit is contained in:
@@ -74,7 +74,13 @@ export const deployCloudFunctionBuildScript: BuildScript = {
|
|||||||
'X-Parse-Application-Id': environment.appId,
|
'X-Parse-Application-Id': environment.appId,
|
||||||
'X-Parse-Master-Key': environment.masterKey
|
'X-Parse-Master-Key': environment.masterKey
|
||||||
},
|
},
|
||||||
body: JSON.stringify({ deploy: json, runtime: manifest.version })
|
body: JSON.stringify({
|
||||||
|
// Project ID, let the server know about which project is pushing changes.
|
||||||
|
projectId: context.project.id,
|
||||||
|
projectName: context.project.name,
|
||||||
|
deploy: json,
|
||||||
|
runtime: manifest.version
|
||||||
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
// NOTE: Expecting that we always get a JSON response
|
// NOTE: Expecting that we always get a JSON response
|
||||||
|
|||||||
Reference in New Issue
Block a user