fix: string format skills

This commit is contained in:
Subarashimo committed 2025-12-05 19:52:25 +01:00
1 parent 7e47dbfd7c
commit e9317595b6
6 files changed
+33 -7

No files matched your search

+2 -2
View File
@@ -301,8 +301,8 @@ export function validateTrackerData(data) {
}
// Validate skills structure if present
if (data.skills && typeof data.skills !== 'object') {
errors.push('skills must be an object');
if (data.skills && typeof data.skills !== 'object' && typeof data.skills !== 'string') {
errors.push('skills must be an object or a string');
}
// Validate quests structure if present