Update api.php

Removed incorrect case from config class constant calls.