Change prefix to "mokuro_*"
This was an alternative I was thinking of initially since it better namespaces the files, but wasn't sure about.
I saw this commit ended up going with this approach, so I'm aligning the PR to it in the end:
6d550cbe8a
This commit is contained in:
@@ -102,7 +102,7 @@ export async function updateLastCard(imageData: string | null | undefined, sente
|
|||||||
id,
|
id,
|
||||||
fields,
|
fields,
|
||||||
picture: {
|
picture: {
|
||||||
filename: `${id}.webp`,
|
filename: `mokuro_${id}.webp`,
|
||||||
data: imageData.split(';base64,')[1],
|
data: imageData.split(';base64,')[1],
|
||||||
fields: [pictureField],
|
fields: [pictureField],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user