This commit is contained in:
jake 2024-11-11 05:35:59 -05:00
parent 3656213c0c
commit 968681dcaa

View file

@ -418,7 +418,7 @@ sub get_version($record, $versions) {
} }
sub insert_gpg_key ($fingerprint, $keyid, $version, $flags, $armored, $blob) { sub insert_gpg_key ($fingerprint, $keyid, $version, $flags, $armored, $blob) {
my $test = $pg->db->select('gpg_key', ['id'], {fingerprint => $fingerprint})->hash->{id}; my $test = $pg->db->select('gpg_key', ['id'], {fingerprint => $fingerprint});
if ($test) { if ($test) {
$pg->db->delete('gpg_key', {fingerprint => $fingerprint}); $pg->db->delete('gpg_key', {fingerprint => $fingerprint});
} }