Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardozgz committed Jun 17, 2023
1 parent b481b31 commit 4f00a2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/counters/members.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import GuildCountCacheModel from "../models/GuildCountCache";
import Counter from "../typings/Counter";
import Constants from "../utils/Constants";
import { CounterError } from "../utils/Constants";

const MemberCounter: Counter = {
aliases: [
Expand Down Expand Up @@ -28,7 +28,7 @@ const MemberCounter: Counter = {
approximatedOnlineMembers: onlineMembers
};
} else {
return Constants.CounterResult.NOT_AVAILABLE;
throw CounterError.NOT_AVAILABLE;
}
}
};
Expand Down

0 comments on commit 4f00a2a

Please sign in to comment.