[api] Fix 1.8 syntax error in countries_controller