Skip to content

Commit

Permalink
Update bre klamm rule to match api controller.
Browse files Browse the repository at this point in the history
  • Loading branch information
brysonjbest committed Dec 17, 2024
1 parent 815b7b6 commit 0657740
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/utils/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,7 @@ export const getBREFieldFromName = async (fieldName: string): Promise<KlammBREFi

export const getBRERules = async (): Promise<any[]> => {
try {
const {
data: { data },
} = await axiosAPIInstance.get(`/klamm/brerules`);
const { data } = await axiosAPIInstance.get(`/klamm/brerules`);
return data;
} catch (error) {
logError(`Error getting rule data: ${error}`);
Expand Down

0 comments on commit 0657740

Please sign in to comment.