Skip to content

Commit

Permalink
Limit ad title to 80 characters
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDaub committed Oct 2, 2024
1 parent 4abbac8 commit 794b4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/feed.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ async function getAd() {
];

const contract = new ethers.Contract(contractAddress, abi, provider);
const title = await contract.title();
const title = (await contract.title()).slice(0, 80);
const href = await contract.href();
const timestamp = await contract.timestamp();
const identity = await contract.controller();
Expand Down

0 comments on commit 794b4ec

Please sign in to comment.