Fix wrong status 404 when PATCH request didn't change anything (#1272)
This commit is contained in:
committed by
Steve Chávez
parent
87f7e86aa7
commit
553531711b
Vendored
+5
@@ -116,6 +116,11 @@ CREATE FUNCTION always_true(test.items) RETURNS boolean
|
||||
LANGUAGE sql STABLE
|
||||
AS $$ SELECT true $$;
|
||||
|
||||
CREATE FUNCTION is_first(test.items) RETURNS boolean
|
||||
LANGUAGE sql STABLE
|
||||
AS $$ SELECT $1.id = 1 $$;
|
||||
|
||||
|
||||
CREATE FUNCTION anti_id(test.items) RETURNS bigint
|
||||
LANGUAGE sql STABLE
|
||||
AS $_$ SELECT $1.id * -1 $_$;
|
||||
|
||||
Reference in New Issue
Block a user