Skip to content

Commit

Permalink
Fixed bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
bia-pain-bache committed Dec 13, 2024
1 parent 7576fc0 commit 26c7ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kv/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export async function updateDataset (request, env) {

try {
await env.bpb.put("proxySettings", JSON.stringify(proxySettings));
await updateWarpConfigs(request, env);
if (isReset) await updateWarpConfigs(request, env);
} catch (error) {
console.log(error);
throw new Error(`An error occurred while updating KV - ${error}`);
Expand Down

0 comments on commit 26c7ff2

Please sign in to comment.