Skip to content

Commit

Permalink
Revert anbu.ts to default
Browse files Browse the repository at this point in the history
Signed-off-by: Phrosfire <65364337+Phrosfire@users.noreply.github.com>
  • Loading branch information
Phrosfire authored Feb 25, 2025
1 parent 4c3a5ec commit e05241f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/src/server/api/routers/anbu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ export const anbuRouter = createTRPCRouter({
]);
// Derived
const { user } = updatedUser;
if (!user) return errorResponse("User not found");
if (!user.userQuests) user.userQuests = [];
const { isKage, isElder, inSquad } = getConvenienceStatus(user, squad);
// Hide orders if not kage or elder
if (squad && !isKage && !isElder && !inSquad) {
Expand Down

0 comments on commit e05241f

Please sign in to comment.