|
|
@ -1,7 +1,6 @@
|
|
|
|
import { json } from '@sveltejs/kit';
|
|
|
|
|
|
|
|
import * as session from '$lib/db/session';
|
|
|
|
|
|
|
|
import * as gist from '$lib/db/gist';
|
|
|
|
import * as gist from '$lib/db/gist';
|
|
|
|
import { error } from '@sveltejs/kit';
|
|
|
|
import * as session from '$lib/db/session';
|
|
|
|
|
|
|
|
import { error, json } from '@sveltejs/kit';
|
|
|
|
|
|
|
|
|
|
|
|
export async function POST({ request }) {
|
|
|
|
export async function POST({ request }) {
|
|
|
|
const user = await session.from_cookie(request.headers.get('cookie'));
|
|
|
|
const user = await session.from_cookie(request.headers.get('cookie'));
|
|
|
|