Fix permissions checks for projects, fix gallery URLs (#321)

This commit is contained in:
Geometrically
2022-03-16 07:49:09 -07:00
committed by GitHub
parent 3883c509b9
commit 023663b268
4 changed files with 25 additions and 11 deletions

View File

@@ -494,7 +494,7 @@ pub async fn project_create_inner(
});
gallery_urls.push(crate::models::projects::GalleryItem {
url,
url: format!("{}/{}", cdn_url, url),
featured: item.featured,
title: item.title.clone(),
description: item.description.clone(),