|
@@ -450,7 +450,7 @@ export const getProposal = async (
|
|
const { description, parameters, proposerId, votingResults } = proposal;
|
|
const { description, parameters, proposerId, votingResults } = proposal;
|
|
const member: Membership = await getMember(api, proposerId);
|
|
const member: Membership = await getMember(api, proposerId);
|
|
const author = String(member ? member.handle : proposerId);
|
|
const author = String(member ? member.handle : proposerId);
|
|
- const title = proposal.title.toString();
|
|
|
|
|
|
+ const title = String(proposal.title.toHuman());
|
|
const type: string = await getProposalType(api, id);
|
|
const type: string = await getProposalType(api, id);
|
|
const args: string[] = [String(id), title, type, stage, result, author];
|
|
const args: string[] = [String(id), title, type, stage, result, author];
|
|
const message = formatProposalMessage(args);
|
|
const message = formatProposalMessage(args);
|