Made a stylistic change to api controller