diff --git a/api/types/build.go b/api/types/build.go index c4d1cd57f..9051b4cc1 100644 --- a/api/types/build.go +++ b/api/types/build.go @@ -1240,4 +1240,7 @@ func (b *Build) StatusSanitize() { if b.Repo != nil { b.Repo.StatusSanitize() } + + b.Email = nil + b.DeployPayload = nil }