mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-23 00:46:42 +08:00
Refactor user REST API (#14334)
### What problem does this PR solve? Refactor user REST API ### Type of change - [x] Refactoring
This commit is contained in:
@@ -151,7 +151,7 @@ class TestDeleteUserApiKey:
|
||||
user_name: str = EMAIL
|
||||
|
||||
# create second user
|
||||
url: str = HOST_ADDRESS + f"/{VERSION}/user/register"
|
||||
url: str = HOST_ADDRESS + f"/api/{VERSION}/users"
|
||||
user2_email: str = "qa2@ragflow.io"
|
||||
register_data: dict[str, str] = {"email": user2_email, "nickname": "qa2", "password": PASSWORD}
|
||||
res: Any = requests.post(url=url, json=register_data)
|
||||
|
||||
Reference in New Issue
Block a user