From 88a149384bb5735f833e565a65c6049522bf6f60 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Tue, 25 Jan 2022 13:40:44 +0400 Subject: [PATCH] feat: fix response model, generate console SDK --- app/controllers/api/functions.php | 2 +- app/init.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/api/functions.php b/app/controllers/api/functions.php index fbccf7dd89..cb086ae92f 100644 --- a/app/controllers/api/functions.php +++ b/app/controllers/api/functions.php @@ -343,7 +343,7 @@ App::put('/v1/functions/:functionId') $response->dynamic($function, Response::MODEL_FUNCTION); }); -App::patch('/v1/functions/:functionId/deployments') +App::patch('/v1/functions/:functionId/deployment') ->groups(['api', 'functions']) ->desc('Update Function Deployment') ->label('scope', 'functions.write') diff --git a/app/init.php b/app/init.php index 24f216525d..e7d937d735 100644 --- a/app/init.php +++ b/app/init.php @@ -62,7 +62,7 @@ const APP_PAGING_LIMIT = 12; const APP_LIMIT_COUNT = 5000; const APP_LIMIT_USERS = 10000; const APP_CACHE_BUSTER = 201; -const APP_VERSION_STABLE = '0.13.0'; +const APP_VERSION_STABLE = '0.12.1'; const APP_DATABASE_ATTRIBUTE_EMAIL = 'email'; const APP_DATABASE_ATTRIBUTE_ENUM = 'enum'; const APP_DATABASE_ATTRIBUTE_IP = 'ip';