Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Change type using dash notation

天舟99046697d529
diff --git a/backend/api/environment.go b/backend/api/environment.go
index 04aa45c888..0e1c212840 100644
--- a/backend/api/environment.go
+++ b/backend/api/environment.go
@@ -35,7 +35,7 @@ type EnvironmentFind struct {
type EnvironmentPatch struct {
// Standard fields
- ID int `jsonapi:"primary,environmentpatch"`
+ ID int `jsonapi:"primary,environment-patch"`
RowStatus *string `jsonapi:"attr,rowStatus"`
WorkspaceId int
// Value is assigned from the jwt subject field passed by the client.
diff --git a/backend/api/instance.go b/backend/api/instance.go
index 702ef3f67e..580d335817 100644
--- a/backend/api/instance.go
+++ b/backend/api/instance.go
@@ -51,7 +51,7 @@ type InstanceFind struct {
type InstancePatch struct {
// Standard fields
- ID int `jsonapi:"primary,instancepatch"`
+ ID int `jsonapi:"primary,instance-patch"`
RowStatus *string `jsonapi:"attr,rowStatus"`
WorkspaceId int
// Value is assigned from the jwt subject field passed by the client.