fix field name in error message
This commit is contained in:
parent
a511651536
commit
9543ba00f8
@ -45,7 +45,7 @@ if (!isset($position)) {
|
||||
http_response_code(400);
|
||||
header('Content-Type: application/json');
|
||||
die(json_encode([
|
||||
'field' => 'full_name',
|
||||
'field' => 'position',
|
||||
'message' => 'Error: A volunteer position is required.'
|
||||
]));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user