Spaces:
Runtime error
Runtime error
RyZ commited on
Commit ·
a52213d
1
Parent(s): cb80725
fix: restore VerifyOTP interface for compatibility
Browse files- services/auth_service.go +1 -0
services/auth_service.go
CHANGED
|
@@ -13,6 +13,7 @@ import (
|
|
| 13 |
|
| 14 |
type AuthService interface {
|
| 15 |
RegisterUser(req dto.RegisterRequest) error
|
|
|
|
| 16 |
LoginUser(req dto.LoginRequest) (string, error)
|
| 17 |
LoginAdmin(req dto.LoginRequest) (string, error)
|
| 18 |
LoginWorker(req dto.LoginRequest) (string, error)
|
|
|
|
| 13 |
|
| 14 |
type AuthService interface {
|
| 15 |
RegisterUser(req dto.RegisterRequest) error
|
| 16 |
+
VerifyOTP(req dto.VerifyOTPRequest) (string, error) // Deprecated but kept for compatibility
|
| 17 |
LoginUser(req dto.LoginRequest) (string, error)
|
| 18 |
LoginAdmin(req dto.LoginRequest) (string, error)
|
| 19 |
LoginWorker(req dto.LoginRequest) (string, error)
|