Normalize to double quotes across all files with Prettier
This commit is contained in:
1 parent
73bff72cec
commit
a5659cf4c8
190 files changed
+9523
-8859
No files matched your search
@@ -1,8 +1,8 @@
|
||||
import { api } from '@/lib/api';
|
||||
import type { Season, Episode } from '@/types';
|
||||
import { api } from "@/lib/api";
|
||||
import type { Season, Episode } from "@/types";
|
||||
|
||||
export const seasonsApi = {
|
||||
getAll: () => api.get<Season[]>('/seasons').then((r) => r.data),
|
||||
getAll: () => api.get<Season[]>("/seasons").then((r) => r.data),
|
||||
|
||||
getById: (id: number) =>
|
||||
api.get<Season>(`/seasons/${id}`).then((r) => r.data),
|
||||
@@ -11,7 +11,7 @@ export const seasonsApi = {
|
||||
api.get<Episode[]>(`/seasons/${id}/episodes`).then((r) => r.data),
|
||||
|
||||
create: (data: Partial<Season>) =>
|
||||
api.post<Season>('/seasons', data).then((r) => r.data),
|
||||
api.post<Season>("/seasons", data).then((r) => r.data),
|
||||
|
||||
update: (id: number, data: Partial<Season>) =>
|
||||
api.put<Season>(`/seasons/${id}`, data).then((r) => r.data),
|
||||
|
||||
Reference in new issue
Block a user