Skip to content

Commit c75a647

Browse files
author
Vlad Balin
committed
hotfix: memoryIO does not accept string ids
1 parent 8503d56 commit c75a647

File tree

12 files changed

+15
-16
lines changed

12 files changed

+15
-16
lines changed

endpoints/memory/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

endpoints/memory/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/endpoints/memory.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export declare class MemoryEndpoint implements IOEndpoint {
99
constructor(init: object[], delay: number);
1010
index: Index;
1111
items: {};
12-
generateId(a_id: any): string;
12+
generateId(a_id: any): any;
1313
create(json: any, options: any): IOPromise<any>;
1414
update(id: any, json: any, options: any): IOPromise<any>;
1515
read(id: any, options: any): IOPromise<any>;

lib/endpoints/memory.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)