mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 16:01:01 +00:00
fix(config): remove unused createConfigObserveAnomalyAuditAppendParams helper
This commit is contained in:
@@ -214,17 +214,6 @@ function extractRestoreErrorDetails(error: unknown): {
|
||||
return { code, message };
|
||||
}
|
||||
|
||||
function createConfigObserveAnomalyAuditAppendParams(
|
||||
deps: ObserveRecoveryDeps,
|
||||
params: Omit<ConfigObserveAuditRecordParams, "restoredFromBackup" | "restoredBackupPath">,
|
||||
) {
|
||||
return createConfigObserveAuditAppendParams(deps, {
|
||||
...params,
|
||||
restoredFromBackup: false,
|
||||
restoredBackupPath: null,
|
||||
});
|
||||
}
|
||||
|
||||
function hashConfigRaw(raw: string | null): string {
|
||||
return crypto
|
||||
.createHash("sha256")
|
||||
|
||||
Reference in New Issue
Block a user