diff --git a/routes/user.js b/routes/user.js index dbb5aab..3b7cc63 100644 --- a/routes/user.js +++ b/routes/user.js @@ -1,6 +1,7 @@ import { Router } from "express"; import { replyIterator } from "../lib.js"; import { initDb } from "../db.js"; +import { splitUp } from "../lib.js"; let db = await initDb(); const router = Router(); diff --git a/views/user.ejs b/views/user.ejs index ebbb0f2..81c83be 100644 --- a/views/user.ejs +++ b/views/user.ejs @@ -3,7 +3,7 @@ <%= username %> -
<%- include ('formatted.ejs', {data: desc || [['A very cool user!']]}) %>
+
<%- include ('formatted.ejs', {content: desc || [{data: 'A very cool user!'}]}) %>
<%- include ('vblock.ejs', {link: `/walls/get/users/${username}/0`, icon: '/icon.svg', name: 'Replies'}) %>