Refactored transaction input handling and removed unused receipt-related definitions in Swagger.
This commit is contained in:
@@ -41,10 +41,6 @@ type UserResponse struct {
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
||||
type UserErrorResponse struct {
|
||||
Error string `json:"error"`
|
||||
}
|
||||
|
||||
func (response *UserResponse) ModelToResponse(u *UserModel) UserResponse {
|
||||
return UserResponse{
|
||||
ID: u.ID,
|
||||
|
||||
Reference in New Issue
Block a user