Skip to content

Commit

Permalink
add todo note for validating data before import
Browse files Browse the repository at this point in the history
  • Loading branch information
powerpaul17 committed Oct 6, 2024
1 parent 39ef709 commit 85a7d55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stores/StorageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export class StorageManager {
}

public async importData(data: ImportExportFormatType): Promise<void> {
// TODO: validate data

for (const [storeName, storeData] of Object.entries(data.stores)) {
const store = this.stores.get(storeName);
if (!store) {
Expand Down

0 comments on commit 85a7d55

Please sign in to comment.