RPC function not working but no error is returned.

So I have my RPC function in supabase Database Functions. It was working at the first time but now for some reason it stopped working. My function have row_id integer argument:
  update images
  set likes = likes + 1
  where id = row_id;

and this is my js to run it:
  await supabase.rpc('increment', {row_id: id}).then(async (res) => 
  {
    //do stuff...
  })

Response of this rpc have no error or any specific data.
Any ideas?
Was this page helpful?