mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
fix(core): fix ios sync (#9782)
This commit is contained in:
@@ -91,7 +91,7 @@ export interface NbStorePlugin {
|
||||
permanently: boolean;
|
||||
}) => Promise<void>;
|
||||
releaseBlobs: (options: { id: string }) => Promise<void>;
|
||||
listBlobs: (options: { id: string }) => Promise<Array<ListedBlob>>;
|
||||
listBlobs: (options: { id: string }) => Promise<{ blobs: Array<ListedBlob> }>;
|
||||
getPeerRemoteClocks: (options: {
|
||||
id: string;
|
||||
peer: string;
|
||||
|
||||
@@ -167,7 +167,7 @@ export const NbStoreNativeDBApis: NativeDBApis = {
|
||||
const listed = await NbStore.listBlobs({
|
||||
id,
|
||||
});
|
||||
return listed.map(b => ({
|
||||
return listed.blobs.map(b => ({
|
||||
key: b.key,
|
||||
mime: b.mime,
|
||||
size: b.size,
|
||||
|
||||
Reference in New Issue
Block a user