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