fix empty feedback check
All checks were successful
deploy / build-and-deploy (push) Successful in 19s
All checks were successful
deploy / build-and-deploy (push) Successful in 19s
This commit is contained in:
@@ -91,7 +91,7 @@ export async function getFeedbacks(db: Database, values: GetFeedbacksReq) {
|
||||
})
|
||||
.from(feedback)
|
||||
.leftJoin(user, eq(feedback.userId, user.id))
|
||||
.where(!values.includeBlanks ? isNotNull(feedback.lastChanged) : undefined)
|
||||
.where(!values.includeBlanks ? isNotNull(feedback.content) : undefined)
|
||||
.orderBy(desc(feedback.id));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user