diff --git a/src/types.c b/src/types.c index a16f6ec..3e97552 100644 --- a/src/types.c +++ b/src/types.c @@ -924,7 +924,7 @@ Datum pljs_jsvalue_to_datum(Oid rettype, JSValue val, bool *is_null, *is_null = true; } - PG_RETURN_NULL(); + PG_RETURN_VOID(); } }