mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
reduce unction is no longer async
This commit is contained in:
parent
792f13edfc
commit
02c28be403
2 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ const syncReadPosition = async (cacheKey: string) => {
|
|||
positions.positionItems &&
|
||||
positions.positionItems.length > 0
|
||||
) {
|
||||
const position = await reduceCachedReadingPositionMembers(
|
||||
const position = reduceCachedReadingPositionMembers(
|
||||
components.uid,
|
||||
components.libraryItemID,
|
||||
positions.positionItems
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ export const reduceCachedReadingPositionMembers = (
|
|||
uid: string,
|
||||
libraryItemID: string,
|
||||
items: ReadingProgressCacheItem[]
|
||||
): Promise<ReadingProgressCacheItem | undefined> => {
|
||||
): ReadingProgressCacheItem | undefined => {
|
||||
try {
|
||||
if (!items || items.length < 1) {
|
||||
return undefined
|
||||
|
|
|
|||
Loading…
Reference in a new issue