fixed formatting so it would show in bruno
This commit is contained in:
@@ -27,6 +27,7 @@ script:post-response {
|
|||||||
return bru.setEnvVar("token", data.token, { persist: true });
|
return bru.setEnvVar("token", data.token, { persist: true });
|
||||||
}
|
}
|
||||||
onResponse(res);
|
onResponse(res);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
@@ -78,4 +79,5 @@ docs {
|
|||||||
- Use this request only when specifically creating admin accounts
|
- Use this request only when specifically creating admin accounts
|
||||||
- For regular user creation, use "Register User" request
|
- For regular user creation, use "Register User" request
|
||||||
- Admin token will have elevated privileges for administrative operations
|
- Admin token will have elevated privileges for administrative operations
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ script:post-response {
|
|||||||
return bru.setEnvVar("token", data.token, { persist: true });
|
return bru.setEnvVar("token", data.token, { persist: true });
|
||||||
}
|
}
|
||||||
onResponse(res);
|
onResponse(res);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
@@ -77,4 +78,5 @@ docs {
|
|||||||
**Examples:**
|
**Examples:**
|
||||||
- First admin creation: `{"email": "admin@example.com", "username": "admin", "password": "password123", "role": "admin"}`
|
- 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"}`
|
- Regular user creation: `{"email": "user@example.com", "username": "user", "password": "password123", "role": "user"}`
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user