mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-18 15:59:22 +00:00
fix typescript types
This commit is contained in:
@ -17,11 +17,9 @@ document.addEventListener("alpine:init", () => {
|
||||
|
||||
async init() {
|
||||
this.pictures = await paginated(picturesFetchPictures, {
|
||||
query: {
|
||||
// biome-ignore lint/style/useNamingConvention: from python api
|
||||
users_identified: [config.userId],
|
||||
} as PicturesFetchPicturesData["query"],
|
||||
});
|
||||
// biome-ignore lint/style/useNamingConvention: from python api
|
||||
query: { users_identified: [config.userId] },
|
||||
} as PicturesFetchPicturesData);
|
||||
|
||||
this.albums = this.pictures.reduce(
|
||||
(acc: Record<string, PictureSchema[]>, picture: PictureSchema) => {
|
||||
|
Reference in New Issue
Block a user