Skip to content

Commit

Permalink
fix: fixing client load patch to put
Browse files Browse the repository at this point in the history
  • Loading branch information
brayn003 committed Mar 31, 2024
1 parent 913f58a commit 5bd6d45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function KiteIntegration() {

async function loadSession() {
setIsLoadSessionLoading(true);
const res = await fetch("/api/integrations/kite/sessions/default", { method: "PATCH" });
const res = await fetch("/api/integrations/kite/sessions/default", { method: "PUT" });
setIsLoadSessionLoading(false);
if (res.ok) {
toast({ description: "Kite Connect session started" });
Expand Down

0 comments on commit 5bd6d45

Please sign in to comment.