("post_rating" -> "message_rating") ("post_ranking" -> "message_ranking")

This commit is contained in:
Desmond Grealy
2022-12-30 17:37:28 -08:00
parent 5b787b8ad7
commit 3aaf45a8c8
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ const handler = async (req, res) => {
"Content-Type": "application/json",
},
body: JSON.stringify({
type: "post_rating",
type: "message_rating",
user: {
id: token.sub,
display_name: token.name || token.email,
@@ -37,7 +37,7 @@ const RankAssistantReplies = () => {
const submitResponse = (task) => {
trigger({
id: task.id,
update_type: "post_ranking",
update_type: "message_ranking",
content: {
ranking,
},
@@ -37,7 +37,7 @@ const RankInitialPrompts = () => {
const submitResponse = (task) => {
trigger({
id: task.id,
update_type: "post_ranking",
update_type: "message_ranking",
content: {
ranking,
},
@@ -37,7 +37,7 @@ const RankUserReplies = () => {
const submitResponse = (task) => {
trigger({
id: task.id,
update_type: "post_ranking",
update_type: "message_ranking",
content: {
ranking,
},