Skip to content

Commit

Permalink
RPC fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jhagas authored Oct 14, 2024
1 parent 591160a commit 5897dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Supabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ String Supabase::rpc(String func_name, String json_param)
{
int httpCode;

if (!https.begin(client, hostname + "/rpc/" + func_name))
if (!https.begin(client, hostname + "/rest/v1/rpc/" + func_name))
{
return String(-100);
}
Expand All @@ -629,4 +629,4 @@ String Supabase::rpc(String func_name, String json_param)

https.end();
return String(httpCode);
}
}

0 comments on commit 5897dc8

Please sign in to comment.