Fixes typo in hook migrate api call