Skip to content

Commit fe22c62

Browse files
committed
smol tidbits
1 parent e1477d4 commit fe22c62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/db/article/create.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import prisma from '$lib/prisma';
21
import { Y_POST_TYPES } from '$lib/constants/constants';
2+
import prisma from '$lib/prisma';
33

44
/**
55
* @param {{ title: {raw: string, sanitized: string}, data: { content: string }, ids: string[] }} arg1

src/routes/api/article/update/[title]/+server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import { upsertHTML } from '$lib/db/article/html';
2121
import { articleConfig } from '$lib/components/editor/config/article';
2222
import { adjustVideoEmbedNodeSiblings } from '$lib/components/editor/validations/videos.server';
2323
import toHTML from '$lib/worker/toHTML';
24+
import { EDITOR_IS_READONLY } from '$lib/constants/constants';
2425
import { _getYPostByTitle } from '../../read/[title]/+server';
2526
import { _emit } from '../../../../adonis/frontpage/+server';
26-
import { EDITOR_IS_READONLY } from '$lib/constants/constants';
2727

2828
export async function POST({ request, locals, params }) {
2929
if (locals.isBlocked) {

0 commit comments

Comments
 (0)