We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0406940 commit 75eaf18Copy full SHA for 75eaf18
assets/jscpd-badge.svg
dist/FacadeConfig.d.ts
@@ -7,7 +7,7 @@ import ItemIntoDocument from './types/ItemIntoDocument';
7
import TransactionHandler from './types/TransactionHandler';
8
export default interface FacadeConfig<I extends Item> {
9
readonly dataKeyName: string;
10
- readonly serverSideGeneratedIds?: boolean;
+ readonly serverSideGeneratedIds: boolean;
11
readonly totalHeaderName: string;
12
readonly hasAfterHeaderName: string;
13
readonly afterHeaderName: string;
src/functions/createItem/index.ts
@@ -25,6 +25,8 @@ const createItem: RequestHandlerFactory = <I extends Item>(
25
res,
26
}),
27
});
28
+
29
+ req.body.id = id;
30
31
sendResponse({
32
config,
0 commit comments