Skip to content

Commit 54fb490

Browse files
committed
fix: another case of weird rbatis parsing
1 parent 02b9332 commit 54fb490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/database/schema/audit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ pysql_select_page!(select_audit_version_page_by_resource_type_and_resource_id(re
9292
`audit_version.*, oidc_user.id AS oidc_user_id, oidc_user.username AS oidc_user_username from audit_version JOIN oidc_user ON oidc_user.id = made_by `
9393
`WHERE resource_type = #{resource_type} AND resource_id = #{resource_id} `
9494
if do_count == false:
95-
`ORDER BY version DESC`");
95+
`order by version DESC`");
9696

9797
impl From<&AuditResource> for ProtoResourceKind {
9898
fn from(value: &AuditResource) -> Self {

0 commit comments

Comments
 (0)