Skip to content

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

Resource type renaming to add - between words

天舟3873d122bfba
diff --git a/frontend/src/miragejs/routes/project.js b/frontend/src/miragejs/routes/project.js
index 49bdca7ba0..234c81b429 100644
--- a/frontend/src/miragejs/routes/project.js
+++ b/frontend/src/miragejs/routes/project.js
@@ -60,7 +60,7 @@ export default function configureProject(route) {
route.post("/project", function (schema, request) {
const ts = Date.now();
- const attrs = this.normalizedRequestAttrs("project-new");
+ const attrs = this.normalizedRequestAttrs("project-create");
const newProject = {
...attrs,
creatorId: attrs.creatorId,
diff --git a/frontend/src/store/modules/principal.ts b/frontend/src/store/modules/principal.ts
index 810d1875fe..3d73191e12 100644
--- a/frontend/src/store/modules/principal.ts
+++ b/frontend/src/store/modules/principal.ts
@@ -129,7 +129,7 @@ const actions = {
(
await axios.patch(`/api/principal/${principalId}`, {
data: {
- type: "principalpatch",
+ type: "principal-patch",
attributes: principalPatch,
},
})
diff --git a/frontend/src/views/IssueHighlightPanel.vue b/frontend/src/views/IssueHighlightPanel.vue
index 03d9fcaedf..71b50df776 100644
--- a/frontend/src/views/IssueHighlightPanel.vue
+++ b/frontend/src/views/IssueHighlightPanel.vue
@@ -14,7 +14,7 @@
class="ml-2 my-0.5 w-full text-lg font-bold"
:disabled="!allowEdit"
:required="true"
- :focusOnMount="$create"
+ :focusOnMount="create"
:bordered="false"
:value="state.name"
:placeholder="'Issue name'"