mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use reminder by elasticPageId
This commit is contained in:
parent
394a558e45
commit
40cbfc9058
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class ReminderModel extends DataModel<ReminderData, CreateSet, UpdateSet> {
|
|||
): Promise<ReminderData | null> {
|
||||
const row: ReminderData = await tx(this.tableName)
|
||||
.select()
|
||||
.where({ userId, articleSavingRequestId: requestId })
|
||||
.where({ userId, elasticPageId: requestId })
|
||||
.first(this.modelKeys)
|
||||
|
||||
if (!row) return null
|
||||
|
|
|
|||
Loading…
Reference in a new issue