Skip to content

Commit 4d8635f

Browse files
authored
update identifyText.js to identifyText.ts (#8336)
* update identifyText.js to identifyText.ts * change to identifyText.js instead
1 parent 41a42b2 commit 4d8635f

File tree

1 file changed

+2
-2
lines changed
  • src/pages/[platform]/build-a-backend/data/custom-business-logic/connect-amazon-rekognition

1 file changed

+2
-2
lines changed

src/pages/[platform]/build-a-backend/data/custom-business-logic/connect-amazon-rekognition/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,9 @@ backend.storage.resources.bucket.grantReadWrite(
117117
```
118118
## Step 5 - Configure the function handler
119119

120-
Define the function handler by creating a new file, `amplify/data/identifyText.ts`. This function analyzes the image and extracts text using the Amazon Rekognition DetectText service.
120+
Define the function handler by creating a new file, `amplify/data/identifyText.js`. This function analyzes the image and extracts text using the Amazon Rekognition DetectText service.
121121

122-
```ts title="amplify/data/identifyText.ts"
122+
```ts title="amplify/data/identifyText.js"
123123

124124
export function request(ctx) {
125125
return {

0 commit comments

Comments
 (0)