UPDATE: Change type response
All checks were successful
Build and Release / release (push) Successful in 1m4s
All checks were successful
Build and Release / release (push) Successful in 1m4s
This commit is contained in:
@@ -74,7 +74,7 @@ func (u *UserEntity) ToResponse() *response.UserResponse {
|
||||
}
|
||||
|
||||
func UsersEntityToResponse(users []*UserEntity) []*response.UserResponse {
|
||||
out := make([]*response.UserResponse, len(users))
|
||||
out := make([]*response.UserResponse, 0)
|
||||
for _, user := range users {
|
||||
if user == nil {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user