CSAllenISDClassroom / sudokuserver-acid-dragons-1

sudokuserver-acid-dragons-1 created by GitHub Classroom
1 stars 1 forks source link

Returns Board ID with Invalid Difficulty Level #35

Closed AkshayVemulapalli closed 3 years ago

AkshayVemulapalli commented 3 years ago

The parameters for difficulty are currently easy, medium, hard, and hell, but if I put a URL with the difficulty VeryHard it still gives me an ID instead of returning an error.

This is the URL I used for my POST request: https://codermerlin.com/vapor/vivek-maranganti/games?difficulty=VeryHard

Sahil-Sheth commented 3 years ago

As a class, we had not decided on the difficulty levels so we had extra difficulty levels such as very easy and very hard. As of right now, we have removed the extra difficulty levels and only have easy, medium, hard, and hell

HengYiLee commented 3 years ago

This issue has not been fixed as of this date. We have retested difficulty levels outside of the parameters wanted which still returns an id.

URL's used: https://codermerlin.com/vapor/vivek-maranganti/games?difficulty=hello https://codermerlin.com/vapor/vivek-maranganti/games?difficulty=lmao

CSAllenISD commented 3 years ago

Issue persists. Reopen.

Tariq-Mahamid commented 3 years ago

Fixed.