chore: patch MemoriesResponse (#23764)

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
pull/23755/head^2
shenlong 2025-11-10 23:07:45 +07:00 committed by GitHub
parent 45304f1211
commit da5a72f6de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

@ -51,6 +51,11 @@ dynamic upgradeDto(dynamic value, String targetType) {
addDefault(value, 'ocr', false);
}
break;
case 'MemoriesResponse':
if (value is Map) {
addDefault(value, 'duration', 5);
}
break;
}
}