From aae92c0034574a6a7a41c9aae70d6942fa16e69e Mon Sep 17 00:00:00 2001
From: Wum1ng <1210078968@qq.com>
Date: Wed, 10 Apr 2024 10:28:36 +0800
Subject: [PATCH] trigger github CI
---
dojo_plugin/api/v1/dojo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dojo_plugin/api/v1/dojo.py b/dojo_plugin/api/v1/dojo.py
index b8d922975..35a396e23 100644
--- a/dojo_plugin/api/v1/dojo.py
+++ b/dojo_plugin/api/v1/dojo.py
@@ -58,7 +58,7 @@ def create_dojo(user,repository_type, repository, public_key, private_key):
try:
repository_re = r"[\w\-]+/[\w\-]+"
- assert re.match(repository_re, repository), f"Invalid repository, expected format: {repository_re}
"
+ assert re.match(repository_re, repository), f"Invalid repository, expected format: {repository_re}
, got {repository_type}
"
assert not Dojos.query.filter_by(repository=repository).first(), DOJO_EXISTS