From 9d005c5d1da50b60874be222621aca32d2684353 Mon Sep 17 00:00:00 2001 From: Kaitlyn Parkhurst Date: Sun, 20 Nov 2022 04:02:09 -0800 Subject: [PATCH] Add to admin jobs. --- Web/lib/MJB/Web/Controller/Admin.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Web/lib/MJB/Web/Controller/Admin.pm b/Web/lib/MJB/Web/Controller/Admin.pm index bbeb306..807c2bc 100644 --- a/Web/lib/MJB/Web/Controller/Admin.pm +++ b/Web/lib/MJB/Web/Controller/Admin.pm @@ -240,7 +240,10 @@ sub do_domain ( $c ) { if $c->stash->{errors}; if ( $ssl eq 'dns-linode' ) { - my $id = $c->minion->enqueue( 'mk_wildcard_ssl', [ $domain->id ], { queue => 'certbot' } ); + my $id = $c->minion->enqueue( 'mk_wildcard_ssl', [ $domain->id ], { + queue => 'certbot' + notes => { '_bid_0' => 1 }, + }); $c->db->admin_jobs->create({ minion_job_id => $id }); }