Fix difficulty adjustment endpoint.
This commit is contained in:
1 parent
24f0ab8f84
commit
334ed2b173
1 file changed
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user