Skip to content

Commit 8a057a7

Browse files
committed
replaceAll instead of replace
1 parent 99dfc96 commit 8a057a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/functions/slack-bot/slack-bot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ exports.handler = async function (request) {
8686
const redirect = {
8787
_type: "redirect",
8888
// Some workflow state
89-
name: params[0].replace("+", " "),
89+
name: params[0].replaceAll("+", " "),
9090
slug: {
9191
_type: "slug",
9292
current: slug,

0 commit comments

Comments
 (0)