Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ukrbublik committed Jul 27, 2023
1 parent 11bb50b commit 67a12a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sandbox_next/lib/withSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const saveSessionData = async (req: IncomingMessage, newData: SessionData
await redis.json.set(`sessions.${sid}`, "$", data);
}
if (newData.jsonTree) {
await redis.json.set(`sessions.${sid}`, "$.jsonTree", newData.jsonTree);
await redis.json.set(`sessions.${sid}`, "$.jsonTree", newData.jsonTree as any as Record<string, unknown>);
}
if (newData.zipConfig) {
await redis.json.set(`sessions.${sid}`, "$.zipConfig", newData.zipConfig);
Expand Down

0 comments on commit 67a12a2

Please sign in to comment.