pl-api: fix non-mastodon stuff i guess

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-09-25 20:52:43 +02:00
parent ffdaa35abb
commit b27fb7f6d3

View File

@ -35,7 +35,7 @@ const credentialApplicationSchema = v.pipe(
...applicationSchema.pipe[2].entries, ...applicationSchema.pipe[2].entries,
client_id: v.string(), client_id: v.string(),
client_secret: v.string(), client_secret: v.string(),
client_secret_expires_at: v.pipe(v.unknown(), v.transform(Number)), client_secret_expires_at: v.fallback(v.nullable(v.pipe(v.unknown(), v.transform(Number))), null),
}), }),
); );