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 267c4be commit 4836be0Copy full SHA for 4836be0
src/functions/updateItem/index.ts
@@ -11,7 +11,7 @@ const updateItem: RequestHandlerFactory = <I extends Item>(
11
config: FacadeConfig<I>
12
) => async (req: Request, res: Response) => {
13
const transactionHandler = _defaultTo(config.defaultTransactionHandler)(
14
- config.beforeGetItem
+ config.beforeUpdateItem
15
);
16
17
await transactionHandler({ req, res }, async () => {
0 commit comments