1
0
Fork 0
mirror of synced 2024-06-29 19:50:26 +12:00

feat: update php test code

This commit is contained in:
Christy Jacob 2022-02-19 04:34:47 +04:00
parent 38ca8dc6fc
commit c7a645037a
4 changed files with 0 additions and 2 deletions

View file

@ -1,7 +1,6 @@
<?php
return function ($request, $response) {
$request = \json_decode($request['env'], true);
$response->json([
'APPWRITE_FUNCTION_ID' => $request->env['APPWRITE_FUNCTION_ID'],
'APPWRITE_FUNCTION_NAME' => $request->env['APPWRITE_FUNCTION_NAME'],

Binary file not shown.

View file

@ -1,7 +1,6 @@
<?php
return function ($request, $response) {
$request = \json_decode($request['env'], true);
return $response->json([
'APPWRITE_FUNCTION_ID' => $request->env['APPWRITE_FUNCTION_ID'],
'APPWRITE_FUNCTION_NAME' => $request->env['APPWRITE_FUNCTION_NAME'],