Skip to content

Commit d2da6ed

Browse files
committed
chore: update sdk docs
1 parent 12f5561 commit d2da6ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/sdks/tigris/examples.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,8 @@ import { getPresignedUrl } from "@tigrisdata/storage";
274274

275275
export async function POST(request: NextRequest) {
276276
try {
277-
const { path, contentType } = await request.json();
278-
const result = await getPresignedUrl(path, {
277+
const { name, contentType } = await request.json();
278+
const result = await getPresignedUrl(name, {
279279
operation: "put",
280280
expiresIn: 3600, // 1 hour
281281
});

0 commit comments

Comments
 (0)