Skip to content

Commit

Permalink
fix DMOB Api validator
Browse files Browse the repository at this point in the history
  • Loading branch information
charlykeyko committed Mar 14, 2024
1 parent d742674 commit deb8093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/validators.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const dmobValidator = async (response: Response): Promise<boolean> => {
const { allowance } = await response.json();
return allowance > 0;
return allowance >= 0;
};

export const backendValidator = async (
Expand Down

0 comments on commit deb8093

Please sign in to comment.