Skip to content

Commit 7566af2

Browse files
committed
update remain endpoint
1 parent 48659aa commit 7566af2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/coc/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export default function ClanProfile() {
217217
const button = event.currentTarget;
218218
button.classList.add(styles.processing);
219219
try {
220-
const response = await fetch('https://coc-apis.behitek.com/clan/%232G9YRCRV2/currentwar');
220+
const response = await fetch('https://coc-apis.behitek.com/clans/%232G9YRCRV2/currentwar');
221221
const warApiData = await response.json();
222222
setWarData(warApiData);
223223
button.classList.remove(styles.processing);

0 commit comments

Comments
 (0)