Fixed end-point mistake in API.

get_complete_tasks was using the end point for get_all_complete_tasks.