From e42c37808b80715c5b2889aa17a1c8b6f4e03b04 Mon Sep 17 00:00:00 2001 From: davidvader Date: Tue, 7 Jan 2025 09:57:22 -0600 Subject: [PATCH] tweak: sanitize email and deploy --- api/types/build.go | 3 +++ 1 file changed, 3 insertions(+) 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 }