Skip to content

Commit

Permalink
lint:fix without typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
KishinZW committed Aug 3, 2024
1 parent 130f5b1 commit f4bfbe9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/content/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async function createContent() {
form.lifespan = lifespan.value * 86400;
if (userStore.userId) {
form.ownerId = userStore.userId;
form.S3FileId = `${makeId(20)}/user-${userStore.userId}/file-${files.value[0].name}`;
form.S3FileId = `${makeId(20)}|user-${userStore.userId}|file-${files.value[0].name}`;
} else {
navigateTo('/login');
return;
Expand Down
1 change: 0 additions & 1 deletion pages/content/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@
<script setup lang="ts">
import { toast } from 'vue-sonner';
import { Loader2, Pencil, Trash2 } from 'lucide-vue-next';
import { ButtonIcon } from '@radix-icons/vue';
import { Button } from '@/components/ui/button';
import {
Card,
Expand Down
1 change: 0 additions & 1 deletion server/trpc/controllers/pool.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { eq } from 'drizzle-orm';
import { TRPCError } from '@trpc/server';
import type { TNewPool } from '../../db/db';
import { db } from '../../db/db';
import { pools } from '../../db/schema';
Expand Down
2 changes: 1 addition & 1 deletion server/trpc/controllers/s3.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GetObjectCommand, PutObjectCommand, S3, UploadPartCommand } from '@aws-sdk/client-s3';
import { GetObjectCommand, PutObjectCommand, S3 } from '@aws-sdk/client-s3';
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
import { env } from '../../env';

Expand Down

0 comments on commit f4bfbe9

Please sign in to comment.