Fix a wacky bug

This commit is contained in:
rift 2024-08-22 20:49:02 -05:00
parent 26fb0486fd
commit 344fbdea9f
2 changed files with 2 additions and 2 deletions

View file

@ -284,7 +284,7 @@ app.post("/api/create-package", auth_psk, async function (req, res) {
author: req.body.author,
version: req.body.version,
description: req.body.description,
tags: ["Hacking", "Animated", "Funny"],
tags: req.body.tags,
payload: req.body.payload,
background_video: req.body.background_video_path,
background_image: req.body.background_image_path,

View file

@ -12,7 +12,7 @@
{#await assetPromise}
Loading assets...
{:then assets}
{#if Object.keys(assets).length > 1}
{#if Object.keys(assets).length > 0}
<div class="flex flex-row gap-6 flex-wrap justify-center">
{#each Object.entries(assets) as [key, asset]}
<a href={"/assets/" + key}>