IEEE-VIT/enigma8-backend

fix/doubt: powerupused

aaryankotharii opened this issue · 3 comments

why is powerupUsed in journey not a boolean ?

  powerupUsed: {
    type: String,
    default: "no",
    enum: ["yes", "no", "active"],
  },

Screenshot 2021-11-17 at 11 26 52 PM

@IEEE-VIT/enigma-backend

Certain powerups required a third property apart from boolean value hence they shifted to string enums!

alright got it 👍