Unique displayName with timestamp, v1.0.13

This commit is contained in:
2026-07-24 08:49:41 +04:00
parent 9a096f45d2
commit e65fbe0cdd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from routes.main import bp as main_bp
from routes.api import bp as api_bp from routes.api import bp as api_bp
from routes.api_test import bp as api_test_bp from routes.api_test import bp as api_test_bp
VERSION = "1.0.12" VERSION = "1.0.13"
app = Flask(__name__, template_folder="templates", static_folder="static") app = Flask(__name__, template_folder="templates", static_folder="static")
app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc") app.config["NUBES_API_ENDPOINT"] = os.getenv("NUBES_API_ENDPOINT", "https://lk-api-gateway-dev.ngcloud.ru/api/v1/svc")
+1 -1
View File
@@ -187,7 +187,7 @@ async function runTest(){
svcOperationId:selectedOp.opId, svcOperationId:selectedOp.opId,
params, params,
instanceUid:instUid, instanceUid:instUid,
displayName:'autotest-'+selectedOp.svcId displayName:'autotest-'+selectedOp.svcId+'-'+Date.now().toString(36)
})}); })});
const d=await r.json(); const d=await r.json();
const cls=d.status==='OK'?'badge badge-success':'badge'; const cls=d.status==='OK'?'badge badge-success':'badge';