feat: Update hackathon event and submission routes to require admin permissions and adjust response descriptions

This commit is contained in:
MythEclipse
2025-10-27 17:26:53 +07:00
parent d5ccf4cf75
commit e77797d7bb
3 changed files with 66 additions and 38 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ test_invalid_token_access() {
test_api_endpoint "GET User Me with Invalid Token" "GET" "/v1/users/me" 401 "" true
# Test with malformed token
AUTH_TOKEN="Bearer.malformed.token"
AUTH_TOKEN="malformed.token"
test_api_endpoint "GET Users with Malformed Token" "GET" "/v1/users" 401 "" true
# Test with empty token