Skip to content

Commit

Permalink
Update db.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wiiznokes committed Jul 19, 2024
1 parent 9372205 commit 65af399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ impl Db {
LIMIT 1
)
INSERT INTO ClipboardEntries (creation, mime, content, metadataMime, metadata)
SELECT :new_id, :new_mime, :new_content, new_metadata_mime, :new_metadata
SELECT :new_id, :new_mime, :new_content, :new_metadata_mime, :new_metadata
WHERE NOT EXISTS (
SELECT 1
FROM last_row AS lr
Expand Down

0 comments on commit 65af399

Please sign in to comment.