Skip to content

Commit 312e2ab

Browse files
authored
[fix]Stream List error code 500
Fix stream list page error code 500。
1 parent 79d28f0 commit 312e2ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/internal/stream.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ const internalStream = {
369369
.where('is_deleted', 0)
370370
.groupBy('id')
371371
.allowGraph('[owner,certificate]')
372-
.orderByRaw('CAST(incoming_port AS INTEGER) ASC');
372+
.orderBy('incoming_port', 'ASC');
373373

374374
if (access_data.permission_visibility !== 'all') {
375375
query.andWhere('owner_user_id', access.token.getUserId(1));

0 commit comments

Comments
 (0)