aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ACDB.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ACDB.ts')
-rw-r--r--src/lib/ACDB.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/ACDB.ts b/src/lib/ACDB.ts
deleted file mode 100644
index 97e40f58..00000000
--- a/src/lib/ACDB.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-export interface ACDBBirthday {
- character_image: string;
- name: string;
- origin: string;
-}
-
-export const ACDBBirthdays = async (month: number, day: number): Promise<ACDBBirthday[]> =>
- (
- await (
- await fetch(`/api/acdb-birthdays?month=${month}&day=${day}`, {
- headers: {
- Accept: 'application/json',
- 'Content-Type': 'application/json',
- 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0'
- }
- })
- ).json()
- )['characters'];