mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-05-15 22:30:38 +08:00
feat(authority): migrate local graphs to server primary
This commit is contained in:
@@ -662,7 +662,7 @@ async function writeBackupEnvelope(envelope, chatId, options = {}) {
|
||||
};
|
||||
}
|
||||
|
||||
async function createRestoreSafetySnapshot(chatId, snapshot, options = {}) {
|
||||
export async function createRestoreSafetySnapshot(chatId, snapshot, options = {}) {
|
||||
const safetyDb = await getSafetyDb(chatId, options);
|
||||
const revision = normalizeRevision(snapshot?.meta?.revision);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user