Skip to content

Commit 8c53e69

Browse files
committed
v1.0.4
1 parent 272d27d commit 8c53e69

File tree

5 files changed

+552
-3116
lines changed

5 files changed

+552
-3116
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const header = { headers: { 'User-Agent': `random-animals/${version} (https://gi
55

66
const getData = async endpoint => {
77
try {
8-
return await get(`https://api.sefinek.net/api/v1/animals/${endpoint}`, header);
8+
return await get(`https://api.sefinek.net/api/v2/random/animal/${endpoint}`, header);
99
} catch (err) {
1010
throw new Error(err.message);
1111
}

0 commit comments

Comments
 (0)