Explorar o código

adjust message

itizawa %!s(int64=4) %!d(string=hai) anos
pai
achega
0cfd775d34
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/service/slackbot.js

+ 1 - 1
src/server/service/slackbot.js

@@ -321,7 +321,7 @@ class SlackBotService extends S2sMessageHandlable {
       await client.chat.postEphemeral({
       await client.chat.postEphemeral({
         channel: channelId,
         channel: channelId,
         user: payload.user.id,
         user: payload.user.id,
-        text: `The page <${decodeURI(growiUri + path)} | ${decodeURI(`${growiUri}/${page._id}`)}> has been created.`,
+        text: `The page <${decodeURI(`${growiUri}/${page._id} | ${decodeURI(growiUri + path)}`)}> has been created.`,
       });
       });
     }
     }
     catch (err) {
     catch (err) {