Skip to content

Commit 9f1f929

Browse files
committed
Fix comments on moderated assets or assets pending review
1 parent cd33130 commit 9f1f929

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Site/src/routes/(main)/catalog/[id=asset]/[name]/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ actions.comment = async ({ locals, params, request, getClientAddress }) => {
136136
`
137137
SELECT
138138
record::id(<-created[0]<-user[0].id) AS creatorId
139-
FROM ONLY $asset WHERE visibility = "Visible"`,
139+
FROM ONLY $asset`,
140140
{ asset: Record("asset", id) }
141141
)
142142
if (!getAsset) error(404)

0 commit comments

Comments
 (0)