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 12f5561 commit d2da6edCopy full SHA for d2da6ed
docs/sdks/tigris/examples.mdx
@@ -274,8 +274,8 @@ import { getPresignedUrl } from "@tigrisdata/storage";
274
275
export async function POST(request: NextRequest) {
276
try {
277
- const { path, contentType } = await request.json();
278
- const result = await getPresignedUrl(path, {
+ const { name, contentType } = await request.json();
+ const result = await getPresignedUrl(name, {
279
operation: "put",
280
expiresIn: 3600, // 1 hour
281
});
0 commit comments