Spaces:
Runtime error
Runtime error
Commit ·
4f01519
1
Parent(s): f157a1c
Deploy files from GitHub repository
Browse files
models/dto/authentication_dto.go
CHANGED
|
@@ -8,6 +8,7 @@ type SignInRequest struct {
|
|
| 8 |
}
|
| 9 |
|
| 10 |
type SignUpRequest struct {
|
|
|
|
| 11 |
Email string `json:"email" binding:"required,email"`
|
| 12 |
Username string `json:"username" binding:"required"`
|
| 13 |
Password string `json:"password" binding:"required"`
|
|
|
|
| 8 |
}
|
| 9 |
|
| 10 |
type SignUpRequest struct {
|
| 11 |
+
Name string `json:"name"`
|
| 12 |
Email string `json:"email" binding:"required,email"`
|
| 13 |
Username string `json:"username" binding:"required"`
|
| 14 |
Password string `json:"password" binding:"required"`
|