Skip to content

Commit 36d034a

Browse files
author
Dane Pilcher
committed
remove handler from first code block
1 parent db885a6 commit 36d034a

File tree

1 file changed

+0
-6
lines changed
  • src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations

1 file changed

+0
-6
lines changed

src/pages/[platform]/build-a-backend/data/custom-business-logic/batch-ddb-operations/index.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ const schema = a.schema({
5454
.returns(a.ref("Post").array())
5555
// only allow signed-in users to call this API
5656
.authorization(allow => [allow.authenticated()])
57-
.handler(
58-
a.handler.custom({
59-
dataSource: a.ref("Post"),
60-
entry: "./BatchCreatePostHandler.js",
61-
})
62-
)
6357
});
6458

6559
export type Schema = ClientSchema<typeof schema>;

0 commit comments

Comments
 (0)