kylej1994 / graffiti

2 stars 0 forks source link

userpost is not queried correctly? #157

Closed hjylewis closed 7 years ago

hjylewis commented 7 years ago

I think this query fails: https://github.com/kylej1994/graffiti/blob/dev/server/graffiti/userpost.py#L44 I think the and is incorrect

you guys are inconsistent when getting userpost https://github.com/kylej1994/graffiti/blob/dev/server/graffiti/post.py#L151

if anything it should be separated by commas, right? http://docs.sqlalchemy.org/en/latest/orm/query.html#sqlalchemy.orm.query.Query.filter