Rename some things

This commit is contained in:
2024-10-24 14:28:49 +02:00
parent fdd16d8236
commit fc711c2194
3 changed files with 8 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ import Article from "../models/article.ts";
import Profile from "../models/profile.ts";
import { articleHtml } from "../html.ts";
import notFoundHandler from "../handlers/not-found.ts";
import generateOgProfileImage from "../tasks/generate_og_profile_image.ts";
import { generateOgProfileImage } from "../magick.ts";
const userEventHandler = async function (ctx: Context) {
const username = ctx.state.username.replace(/^(@|~)/, "");

View File

@@ -5,7 +5,7 @@ import Article from "../models/article.ts";
import Profile from "../models/profile.ts";
import { profilePageHtml } from "../html.ts";
import notFoundHandler from "../handlers/not-found.ts";
import generateOgProfileImage from "../tasks/generate_og_profile_image.ts";
import { generateOgProfileImage } from "../magick.ts";
const userProfileHandler = async function (ctx: Context) {
const username = ctx.state.path.replace(/^(@|~)/, "");