diff --git a/app/components/CooperativeTagSelector.vue b/app/components/CooperativeTagSelector.vue index 46a82f0..1772c9c 100644 --- a/app/components/CooperativeTagSelector.vue +++ b/app/components/CooperativeTagSelector.vue @@ -31,9 +31,9 @@ const props = defineProps({ const emit = defineEmits(["update:modelValue", "suggest"]); const options = [ - { label: "Can help", value: "can_help" }, + { label: "Can help", value: "help" }, { label: "Interested", value: "interested" }, - { label: "Need help", value: "need_help" }, + { label: "Need help", value: "seeking" }, ]; function getState(slug) { diff --git a/app/components/TagSuggestModal.vue b/app/components/TagSuggestModal.vue index 0175ab2..bacf2b1 100644 --- a/app/components/TagSuggestModal.vue +++ b/app/components/TagSuggestModal.vue @@ -60,7 +60,7 @@ async function submit() { try { await $fetch("/api/tags/suggest", { method: "POST", - body: { name: tagName.value.trim(), pool: props.pool }, + body: { label: tagName.value.trim(), pool: props.pool }, }); success.value = true; } catch (e) {