replace Id with ID
This commit is contained in:
@@ -16,44 +16,44 @@ type RefreshTokenResp struct {
|
||||
}
|
||||
|
||||
type SignupPostBody struct {
|
||||
CustomerId string `form:"customer_id"`
|
||||
CustomerID string `form:"customer_id"`
|
||||
AttrsPerKey int `form:"attrs_per_key"`
|
||||
NumbOfKeys int `form:"numb_of_keys"`
|
||||
UserEmail string `form:"email"`
|
||||
}
|
||||
|
||||
type SetNKodePost struct {
|
||||
CustomerId string `json:"customer_id" binding:"required"`
|
||||
CustomerID string `json:"customer_id" binding:"required"`
|
||||
KeySelection []int `json:"key_selection" binding:"required"`
|
||||
SessionId string `json:"session_id" binding:"required"`
|
||||
SessionID string `json:"session_id" binding:"required"`
|
||||
}
|
||||
|
||||
type ConfirmNKodePost struct {
|
||||
CustomerId string `json:"customer_id" binding:"required"`
|
||||
CustomerID string `json:"customer_id" binding:"required"`
|
||||
KeySelection []int `json:"key_selection" binding:"required"`
|
||||
SessionId string `json:"session_id" binding:"required"`
|
||||
SessionID string `json:"session_id" binding:"required"`
|
||||
}
|
||||
|
||||
type LoginInterfacePost struct {
|
||||
UserEmail string `form:"email" binding:"required"`
|
||||
CustomerId string `form:"customer_id" binding:"required"`
|
||||
CustomerID string `form:"customer_id" binding:"required"`
|
||||
}
|
||||
|
||||
type LoginPost struct {
|
||||
CustomerId string `form:"customer_id" binding:"required"`
|
||||
CustomerID string `form:"customer_id" binding:"required"`
|
||||
UserEmail string `form:"email" binding:"required"`
|
||||
KeySelection entities.KeySelection `form:"key_selection" binding:"required"`
|
||||
}
|
||||
|
||||
type RenewAttributesPost struct {
|
||||
CustomerId string `form:"customer_id" binding:"required"`
|
||||
CustomerID string `form:"customer_id" binding:"required"`
|
||||
}
|
||||
|
||||
type ForgotNKodePost struct {
|
||||
UserEmail string `form:"email" binding:"required"`
|
||||
CustomerId string `form:"customer_id" binding:"required"`
|
||||
CustomerID string `form:"customer_id" binding:"required"`
|
||||
}
|
||||
|
||||
type CreateNewCustomerResp struct {
|
||||
CustomerId string `form:"customer_id" binding:"required"`
|
||||
CustomerID string `form:"customer_id" binding:"required"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user