fixed typo in api end point config var