summaryrefslogtreecommitdiff
path: root/internal/processing/status/boost.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/boost.go')
-rw-r--r--internal/processing/status/boost.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/status/boost.go b/internal/processing/status/boost.go
index c8c50d3ee..7c7162c12 100644
--- a/internal/processing/status/boost.go
+++ b/internal/processing/status/boost.go
@@ -96,7 +96,7 @@ func (p *Processor) BoostCreate(
// Derive pendingApproval status.
var pendingApproval bool
switch {
- case policyResult.WithApproval():
+ case policyResult.ManualApproval():
// We're allowed to do
// this pending approval.
pendingApproval = true
@@ -117,7 +117,7 @@ func (p *Processor) BoostCreate(
boost.PreApproved = true
}
- case policyResult.Permitted():
+ case policyResult.AutomaticApproval():
// We're permitted to do this
// based on another kind of match.
pendingApproval = false