This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

bug: fix takes results being off by a factor of 10

+2 -2
+2 -2
src/features/takes/services/upload.ts
··· 183 183 type: "plain_text", 184 184 text: "3x", 185 185 }, 186 - value: "2.5", 186 + value: "3", 187 187 }, 188 188 ], 189 189 action_id: "select_multiplier", ··· 308 308 await slackClient.chat.postMessage({ 309 309 channel: payload.user.id, 310 310 thread_ts: take[0]?.ts as string, 311 - text: `take approved with multiplier \`${multiplier}\` so you have earned *${Number((takeToApprove.elapsedTimeMs * Number(multiplier)) / 1000 / 360).toFixed(1)} takes*!`, 311 + text: `take approved with multiplier \`${multiplier}\` so you have earned *${Number((takeToApprove.elapsedTimeMs * Number(multiplier)) / 1000 / 3600).toFixed(1)} takes*!`, 312 312 }); 313 313 314 314 // delete the message from the review channel