deno lint

This commit is contained in:
Alex Gleason 2024-10-11 17:35:45 -05:00
parent a484634d36
commit d4f3c673a2
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 3 additions and 4 deletions

View file

@ -276,7 +276,6 @@ const updateCredentialsController: AppController = async (c) => {
const pubkey = await signer.getPublicKey();
const body = await parseBody(c.req.raw);
const result = updateCredentialsSchema.safeParse(body);
const store = await Storages.db();
if (!result.success) {
return c.json(result.error, 422);

View file

@ -4,7 +4,7 @@ import { z } from 'zod';
import { AppController } from '@/app.ts';
import { Conf } from '@/config.ts';
import { createAdminEvent, updateUser } from '@/utils/api.ts';
import { updateUser } from '@/utils/api.ts';
interface Point {
x: number;

View file

@ -1,4 +1,4 @@
import { Context } from '@hono/hono';
import { type Context } from '@hono/hono';
import { HTTPException } from '@hono/hono/http-exception';
import { NostrEvent, NostrFilter } from '@nostrify/nostrify';
import Debug from '@soapbox/stickynotes/debug';

View file

@ -1,4 +1,4 @@
import { type NostrEvent, NSchema as n } from '@nostrify/nostrify';
import { NSchema as n } from '@nostrify/nostrify';
import { escape } from 'entities';
import { nip19, UnsignedEvent } from 'nostr-tools';