Skip to content

Commit

Permalink
Merge pull request #292 from Yooooomi/release/1.7.1
Browse files Browse the repository at this point in the history
full privacy importer more compliant
  • Loading branch information
Yooooomi authored Oct 19, 2023
2 parents 6a3235e + 7b41b1f commit 43fc34d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions server/src/tools/importers/full_privacy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import {
const fullPrivacyFileSchema = z.array(
z.object({
ts: z.string(),
username: z.string(),
platform: z.string(),
username: z.string().nullable(),
platform: z.string().nullable(),
ms_played: z.number(),
conn_country: z.string().nullable(),
ip_addr_decrypted: z.string().nullable(),
Expand All @@ -38,9 +38,9 @@ const fullPrivacyFileSchema = z.array(
episode_name: z.string().nullable(),
episode_show_name: z.string().nullable(),
spotify_episode_uri: z.string().nullable(),
reason_start: z.string(),
reason_end: z.string(),
shuffle: z.boolean(),
reason_start: z.string().nullable(),
reason_end: z.string().nullable(),
shuffle: z.boolean().nullable(),
skipped: z.boolean().nullable(),
offline: z.boolean().nullable(),
offline_timestamp: z.number().nullable(),
Expand Down

0 comments on commit 43fc34d

Please sign in to comment.