Skip to content

Commit ee4c925

Browse files
authored
Merge pull request #79 from Hrishee-das/patch-1
Fix typo in README.md
2 parents 8bdc668 + ba85226 commit ee4c925

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ Use **getContestTypeByName** to return data about the effects of moves when used
178178

179179
Use **getContestEffectById** to return data about the effects of moves when used in contests.
180180
```js
181-
P.getContestTypeByName(1)
181+
P.getContestEffectById(1)
182182
.then((response) => {
183183
console.log(response);
184184
})
@@ -189,7 +189,7 @@ Use **getContestEffectById** to return data about the effects of moves when used
189189

190190
Use **getSuperContestEffectById** to return data about the effects of moves when used in super contests.
191191
```js
192-
P.getSuperContestTypeById(1)
192+
P.getSuperContestEffectById(1)
193193
.then((response) => {
194194
console.log(response);
195195
})

0 commit comments

Comments
 (0)