Skip to content

Commit 19ddfd0

Browse files
committed
fix bug again
1 parent cadf51e commit 19ddfd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ func GetFeeds(opts GetFeedsOptions) ([]*Action, error) {
736736
var userIDCond builder.Cond = builder.Eq{"user_id": opts.RequestedUser.ID}
737737
if opts.Collaborate {
738738
userIDCond = userIDCond.Or(builder.Expr(
739-
`repo_id IN (SELECT repo_id FROM "access" WHERE access.user_id = ?)`,
739+
"repo_id IN (SELECT repo_id FROM `access` WHERE access.user_id = ?)",
740740
opts.RequestedUser.ID))
741741
}
742742
cond = cond.And(userIDCond)

0 commit comments

Comments
 (0)