Skip to content

Commit

Permalink
🐛 [shareAlliancePost] Fix #716 ?
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 authored Jun 5, 2020
1 parent 652d376 commit 8882623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lss-shareAlliancePost/ShareAlliancePost.js
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@
.then(res => res.json())
.then(data => {
messages = messages.map(message => {
message = message.replace(
data?.average_credits && message = message.replace(
/%CREDITS%/g,
data.average_credits.toLocaleString()
);
Expand Down

0 comments on commit 8882623

Please sign in to comment.