Skip to content

Commit 6e30bad

Browse files
Chimpkillerrhoit
authored andcommitted
rates - rating.py added created by in rate_read_mine
1 parent bae89d7 commit 6e30bad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

srv/rates/rating.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ def rate_read_mine(proposal_pk):
1818
db.proposals.Rate.value,
1919
).where(
2020
db.proposals.Rate.proposal_pk == proposal_pk,
21+
db.proposals.Rate.createdBy == isAdmin,
2122
)
2223

2324
with db.engine.connect() as connection:

0 commit comments

Comments
 (0)