fixed formatting so it would show in bruno

This commit is contained in:
2026-01-27 20:43:19 -05:00
parent 49ee68e905
commit ffbf9d8717
2 changed files with 19 additions and 15 deletions
+9 -7
View File
@@ -12,12 +12,12 @@ post {
body:json {
{
"email": "test@example.com",
"username": "testuser",
"password": "password123",
"first_name": "Test",
"last_name": "User"
}
"email": "test@example.com",
"username": "testuser",
"password": "password123",
"first_name": "Test",
"last_name": "User"
}
}
script:post-response {
@@ -26,6 +26,7 @@ script:post-response {
return bru.setEnvVar("token", data.token, { persist: true });
}
onResponse(res);
}
settings {
@@ -77,4 +78,5 @@ docs {
**Examples:**
- First admin creation: `{"email": "admin@example.com", "username": "admin", "password": "password123", "role": "admin"}`
- Regular user creation: `{"email": "user@example.com", "username": "user", "password": "password123", "role": "user"}`
}
}