From 968681dcaa590765090df17154e347ccf4b15c1d Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 11 Nov 2024 05:35:59 -0500 Subject: [PATCH] bug fix --- keyserver | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyserver b/keyserver index 8d80e9d..d3208f6 100755 --- a/keyserver +++ b/keyserver @@ -418,7 +418,7 @@ sub get_version($record, $versions) { } 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) { $pg->db->delete('gpg_key', {fingerprint => $fingerprint}); }