lint fix wip
This commit is contained in:
parent
dace103da8
commit
e0c025908b
@ -89,3 +89,4 @@ export async function extractAndWriteObject<T extends { hash?: string; index?: n
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
@ -105,3 +105,4 @@ export function useSyncProgress(options: UseSyncProgressOptions = {}): UseSyncPr
|
||||
stopMonitoring,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -465,11 +465,10 @@ class NostrService {
|
||||
const { objectCache } = await import('./objectCache')
|
||||
const objectTypes: Array<import('./objectCache').ObjectType> = ['author', 'series', 'publication', 'review', 'purchase', 'sponsoring', 'review_tip', 'payment_note']
|
||||
|
||||
// First try to find in unpublished objects (faster)
|
||||
for (const objectType of objectTypes) {
|
||||
// Load writeService once
|
||||
const { writeService } = await import('./writeService')
|
||||
|
||||
// First try to find in unpublished objects (faster)
|
||||
for (const objectType of objectTypes) {
|
||||
try {
|
||||
const unpublished = await objectCache.getUnpublished(objectType)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user