change default sort to -score

This commit is contained in:
igoradamenko
2018-02-03 01:01:38 +02:00
parent 5b06f88cae
commit 46c52c6e46
+1 -1
View File
@@ -2,7 +2,7 @@ import { siteId, url } from './settings';
import fetcher from './fetcher'
export const find = ({ url }) => fetcher.get(`/find?url=${url}&sort=time&format=tree`);
export const find = ({ url }) => fetcher.get(`/find?url=${url}&sort=-score&format=tree`);
export const getComment = ({ id }) => fetcher.get(`/id/${id}?url=${url}`);