Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
400 stars 73 forks source link

bug(Tech: Types): Fix typing of database get_or_none #1294

Closed Kruptein closed 1 year ago

Kruptein commented 1 year ago

The typing wrapper we provide for peewee (the orm used by PA), was not correct for the get_or_none function. This fixed a couple of small mistakes here and there.

It also happened to fix a logic bug in the code responsible for kicking players, allowing the Co-DM to kick the main DM.