Skip to content

Commit

Permalink
undo changes in data store memory
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Aug 3, 2023
1 parent 63e0803 commit b4b8141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/memory/data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class InMemoryDataSource<Type> implements IDataSource<Type> {

/** loads from value from the memory */
async load(): Promise<Type[]> {
return Array.from(this._data.values());
return this._data;
}

/** deletes from value from the memory */
Expand Down

0 comments on commit b4b8141

Please sign in to comment.