Skip to content

Commit c415aaa

Browse files
committed
chore: remove validation checker email existing
1 parent 50a5cba commit c415aaa

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

app/events/repository/list_registration.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ func (repo *repository) ListRegistration(ctx context.Context, filter domain.Even
2929
db = db.Where("registration_events.created_at <= ?", filter.EndDate)
3030
}
3131

32-
if email != "" {
33-
db = db.Where("registration_events.email = ?", email)
34-
}
35-
3632
var totalData int64
3733
db.Count(&totalData)
3834

0 commit comments

Comments
 (0)