fix event not resetting correctly
This commit is contained in:
parent
f36788c39b
commit
5b4cc64699
|
@ -70,7 +70,8 @@ export async function clearOldEvent() {
|
|||
logger.info(
|
||||
`Restoring chunk ${ic}/${jc} from event`,
|
||||
);
|
||||
await RedisCanvas.setChunk(ic, jc, chunk, CANVAS_ID);
|
||||
const chunkArray = new Uint8Array(chunk);
|
||||
await RedisCanvas.setChunk(ic, jc, chunkArray, CANVAS_ID);
|
||||
}
|
||||
await redis.delAsync(chunkKey);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user