Fix bug in review opportunity api.

Fix bug in review opportunity api.