feat: add USER_ID_MIDDLEWARE constant and update AuthMiddleware to use it

This commit is contained in:
Tran Anh Tuan
2026-05-13 15:52:26 +07:00
parent 61542af11b
commit b815111b8f
3 changed files with 9 additions and 2 deletions

View File

@@ -33,3 +33,7 @@ const (
API_PATH_AUTH_LOGIN = "/login"
API_PATH_PROFILE = "/profile"
)
const (
USER_ID_MIDDLEWARE = "user_id"
)