Fix difficulty adjustment endpoint.

This commit is contained in:
Miguel Medeiros committed 2021-08-04 08:09:29 -03:00
1 parent 24f0ab8f84
commit 334ed2b173
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@ import {
export const useDifficulty = (api: AxiosInstance): DifficultyInstance => {
const getDifficultyAdjustment = async () => {
const { data } = await api.get<Adjustment>(`/difficulty-adjustment`);
const { data } = await api.get<Adjustment>(`/v1/difficulty-adjustment`);
return data;
};