Skip to content

Commit

Permalink
fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
frzyc committed Jan 24, 2025
1 parent e65b300 commit c35695f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/sr/db/src/Database/DataEntries/DBMetaEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class DBMetaEntry extends DataEntry<
sroDb: ISroDatabase & ISrObjectDescription,
_result: ImportResult
): void {
const data = sroDb[this.prefixedKey]
const data = sroDb[this.dataKey]
if (data) {
// Don't copy over lastEdit data
const { lastEdit, ...rest } = data as IDBMeta
Expand Down
2 changes: 1 addition & 1 deletion libs/zzz/db/src/Database/DataEntries/DBMetaEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class DBMetaEntry extends DataEntry<
zoDb: IZZZDatabase & IZenlessObjectDescription,
_result: ImportResult
): void {
const data = zoDb[this.prefixedKey]
const data = zoDb[this.dataKey]
if (data) {
// Don't copy over lastEdit data
const { lastEdit, ...rest } = data as IDBMeta
Expand Down

0 comments on commit c35695f

Please sign in to comment.