Skip to content

Commit

Permalink
make consologs consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ky-zo committed Aug 19, 2024
1 parent e30fec1 commit 37d2873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/api/wordware/pair/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function POST(request: Request) {
controller.enqueue(encoder.encode(value.value ?? ''))
}
} else if (value.type === 'outputs') {
console.log('✨ Wordware:', value.values.output, '. Now parsing')
console.log(`[${pair.user1lowercaseUsername}, ${pair.user2lowercaseUsername}] ✨ Wordware:`, value.values.output, '. Now parsing')
try {
// Update user with the analysis from Wordware
await updatePair({
Expand Down
2 changes: 1 addition & 1 deletion src/app/api/wordware/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export async function POST(request: Request) {
controller.enqueue(encoder.encode(value.value ?? ''))
}
} else if (value.type === 'outputs') {
console.log('✨ Wordware:', value.values.output, '. Now parsing')
console.log(`[${user.username}] Wordware:`, value.values.output, '. Now parsing')
try {
const statusObject = full
? {
Expand Down

0 comments on commit 37d2873

Please sign in to comment.