From 26bd20bb13e2daca2a4edef885e5a9c84d5f15d0 Mon Sep 17 00:00:00 2001 From: BryantHe Date: Thu, 26 Oct 2023 13:21:54 +0800 Subject: [PATCH] add: api for profiling 3 --- app/api/v1/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/v1/api.py b/app/api/v1/api.py index 41f7a00..0c21ab1 100644 --- a/app/api/v1/api.py +++ b/app/api/v1/api.py @@ -116,7 +116,7 @@ def get_image_presign_url(query_data): @api.input(ProfilingIn, location='query') @api.doc(summary='此接口用于性能测试', description='此接口用于性能测试') def profiling(query_data): - result = rpc.admin.identify(query_data['token']) + result = rpc.admin.identify(query_data.get('token', 'xxxxxx')) return result