Fix subscription function referencing wrong API endpoint