feat: fix executor issues

This commit is contained in:
Christy Jacob
2022-02-05 14:08:05 +04:00
parent 6610bf9873
commit f83fdc92de
3 changed files with 21 additions and 36 deletions
+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', '')
];