implement MongoDB user
This commit is contained in:
@@ -19,7 +19,7 @@ impl RegisterPayload {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn register(Json(_payload): Json<RegisterPayload>) -> impl IntoResponse {
|
pub async fn register(Json(_payload): Json<RegisterPayload>) -> impl IntoResponse {
|
||||||
// TODO: Implement user registration logic
|
// TODO: Implement user registration logic using the user repository in ./src/mongodb/repositories/user
|
||||||
|
|
||||||
(
|
(
|
||||||
StatusCode::OK,
|
StatusCode::OK,
|
||||||
|
|||||||
Reference in New Issue
Block a user