Skip to content

Commit

Permalink
Return plain text for the latest community patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
timoschwarzer authored Oct 29, 2023
1 parent c6b2101 commit da5dd9e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ server.get('/wotw-community-patch/latest', async (req, res) => {
path: 'latest-version'
})).data.content

return {
motd: Buffer.from(base64Content, 'base64').toString('utf-8'),
}
return Buffer.from(base64Content, 'base64').toString('utf-8').trim()
}))
})

Expand Down

0 comments on commit da5dd9e

Please sign in to comment.