feat: fix executor issues

This commit is contained in:
Christy Jacob committed 2022-02-05 14:08:05 +04:00
1 parent 6610bf9873
commit f83fdc92de
3 files changed
+21 -36

No files matched your search

+2 -2
View File
@@ -67,7 +67,7 @@ class Executor
{
$route = "/deployments/$deploymentId";
$headers = [
'content-Type' => 'application/json',
'content-type' => 'application/json',
'x-appwrite-project' => $projectId,
'x-appwrite-executor-key' => App::getEnv('_APP_EXECUTOR_SECRET', '')
];
@@ -102,7 +102,7 @@ class Executor
{
$route = "/functions/$functionId/executions";
$headers = [
'content-Type' => 'application/json',
'content-type' => 'application/json',
'x-appwrite-project' => $projectId,
'x-appwrite-executor-key' => App::getEnv('_APP_EXECUTOR_SECRET', '')
];