andymeneely / dev-fortress-server

MIT License
4 stars 0 forks source link

Resolve postgres issue #61

Closed ShaydeNofziger closed 7 years ago

ShaydeNofziger commented 7 years ago

Description

This pull request changes the way validateNameUnique functions work in the Game and Team controller to resolve issues with the way Postgres handled .count() methods. Additionally, a return null; line was added to the authentication middleware to resolve a runaway promise warning.

Known Issues

Resolving this issue uncovered an issue that has been present in the updateGame method. As a result, 1 test has been marked as "pending". See #60.