mirror of
https://github.com/modrinth/code.git
synced 2026-08-24 16:44:51 +00:00
fix: moderation queue endpoint regression (#7003)
fix: regression caused by 2308ac1 changes
This commit is contained in:
Generated
+1
-3
@@ -76,12 +76,10 @@
|
||||
"name": "delphi_severity",
|
||||
"kind": {
|
||||
"Enum": [
|
||||
"hidden",
|
||||
"low",
|
||||
"medium",
|
||||
"high",
|
||||
"severe",
|
||||
"malware"
|
||||
"severe"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Generated
+28
File diff suppressed because one or more lines are too long
Generated
-28
File diff suppressed because one or more lines are too long
Generated
+138
File diff suppressed because one or more lines are too long
+2
-2
File diff suppressed because one or more lines are too long
Generated
-138
File diff suppressed because one or more lines are too long
@@ -333,7 +333,7 @@ pub async fn get_projects_internal(
|
||||
search_organization.name AS organization_name,
|
||||
search_owner.username AS owner_name,
|
||||
CASE
|
||||
WHEN mp.components ? 'minecraft_server'
|
||||
WHEN jsonb_typeof(mp.components -> 'minecraft_server') = 'object'
|
||||
THEN ARRAY_APPEND(
|
||||
ARRAY_REMOVE(
|
||||
COALESCE(vpt.project_types::text[], ARRAY[]::text[]),
|
||||
@@ -603,7 +603,7 @@ pub async fn get_projects_internal(
|
||||
owner.username AS owner_name,
|
||||
owner.avatar_url AS owner_icon_url,
|
||||
CASE
|
||||
WHEN m.components ? 'minecraft_server'
|
||||
WHEN jsonb_typeof(m.components -> 'minecraft_server') = 'object'
|
||||
THEN ARRAY_APPEND(
|
||||
ARRAY_REMOVE(
|
||||
COALESCE(ppt.project_types::text[], ARRAY[]::text[]),
|
||||
@@ -808,7 +808,7 @@ pub async fn get_project_ids(
|
||||
search_organization.name AS organization_name,
|
||||
search_owner.username AS owner_name,
|
||||
CASE
|
||||
WHEN mp.components ? 'minecraft_server'
|
||||
WHEN jsonb_typeof(mp.components -> 'minecraft_server') = 'object'
|
||||
THEN ARRAY_APPEND(
|
||||
ARRAY_REMOVE(
|
||||
COALESCE(vpt.project_types::text[], ARRAY[]::text[]),
|
||||
|
||||
Reference in New Issue
Block a user