Normalize to double quotes across all files with Prettier

This commit is contained in:
X4Lo committed 2026-06-21 22:28:08 +01:00
1 parent 73bff72cec
commit a5659cf4c8
190 files changed
+9523 -8859

No files matched your search

+9 -5
View File
@@ -1,8 +1,8 @@
import { api } from '@/lib/api';
import type { EntrySeen } from '@/types';
import { api } from "@/lib/api";
import type { EntrySeen } from "@/types";
export const entrySeenApi = {
getAll: () => api.get<EntrySeen[]>('/entry-seen').then((r) => r.data),
getAll: () => api.get<EntrySeen[]>("/entry-seen").then((r) => r.data),
getById: (id: number) =>
api.get<EntrySeen>(`/entry-seen/${id}`).then((r) => r.data),
@@ -16,8 +16,12 @@ export const entrySeenApi = {
throw err;
}),
create: (data: { entry_id: number; date_seen: string; seen_with?: string; accuracy?: string }) =>
api.post<EntrySeen>('/entry-seen', data).then((r) => r.data),
create: (data: {
entry_id: number;
date_seen: string;
seen_with?: string;
accuracy?: string;
}) => api.post<EntrySeen>("/entry-seen", data).then((r) => r.data),
update: (id: number, data: Partial<EntrySeen>) =>
api.put<EntrySeen>(`/entry-seen/${id}`, data).then((r) => r.data),