Fix OTP API routes
This commit is contained in:
@@ -25,10 +25,8 @@ Rails.application.routes.draw do
|
||||
get "sms/received", to: "sms#received"
|
||||
|
||||
# OTP endpoints
|
||||
namespace :otp do
|
||||
post "send", to: "otp#send_otp"
|
||||
post "verify", to: "otp#verify"
|
||||
end
|
||||
post "otp/send", to: "otp#send_otp"
|
||||
post "otp/verify", to: "otp#verify"
|
||||
|
||||
# Admin endpoints
|
||||
namespace :admin do
|
||||
|
||||
Reference in New Issue
Block a user