Skip to content

Commit

Permalink
refactor: use ufsUrl instead of .url as it is deprecated (#1159)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThallesP authored Feb 24, 2025
1 parent 7ca50d7 commit 827960b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/app/(docs)/getting-started/pagedir/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const ourFileRouter = {
// This code RUNS ON YOUR SERVER after upload
console.log("Upload complete for userId:", metadata.userId);

console.log("file url", file.url);
console.log("file url", file.ufsUrl);

// !!! Whatever is returned here is sent to the clientside `onClientUploadComplete` callback
return { uploadedBy: metadata.userId };
Expand Down

0 comments on commit 827960b

Please sign in to comment.