mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Wrap ID
This commit is contained in:
parent
b82734d709
commit
cfc8cef20a
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ import { onErrorContinue } from '../utils/reactive'
|
|||
|
||||
const hasStoredInDatabase = async (articleSlug: string, feedId: string) => {
|
||||
const { rows } = await sqlClient.query(
|
||||
`SELECT slug FROM omnivore.discover_feed_articles WHERE slug = $1 and feed_id = '$2'`,
|
||||
`SELECT slug FROM omnivore.discover_feed_articles WHERE slug = $1 and feed_id = $2gi`,
|
||||
[articleSlug, feedId]
|
||||
)
|
||||
return rows && rows.length === 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue