Ensure image ids are human readable

This commit is contained in:
Zoe Roux 2024-12-11 16:56:42 +01:00
parent 0b77072b04
commit c263dd770e
No known key found for this signature in database

View File

@ -7,7 +7,7 @@ export const processImage = async (url: string): Promise<Image> => {
// TODO: download source, save it in multiples qualities & process blurhash
return {
id: hasher.digest().toString(),
id: hasher.digest().toString("hex"),
source: url,
blurhash: "",
};