Skip to content

Commit 9161ed4

Browse files
committed
Fix endpoint
1 parent a21ac2c commit 9161ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import apiRequest from './request/request'
22

33
class API {
44
static getArticleMetadata(id) {
5-
return apiRequest(`articles/${id}`)
5+
return apiRequest(`/articles/${id}`)
66
}
77
}
88

0 commit comments

Comments
 (0)