Skip to content

Commit

Permalink
Update viewVotes
Browse files Browse the repository at this point in the history
Update function getVotes -> viewVotes
  • Loading branch information
hiteshjangid05 authored Oct 18, 2022
1 parent ad8fa8a commit e7287fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contracts/assembly/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getAllPrompts():string[]{



export function getVotes(prompt:string):i32[]{
export function viewVotes(prompt:string):i32[]{
if(VoteArray.contains(prompt)){
return VoteArray.getSome(prompt)
}else{
Expand Down

0 comments on commit e7287fe

Please sign in to comment.