diff --git a/.github/scripts/generate-readme.js b/.github/scripts/generate-readme.js index dd395bc..73842fd 100644 --- a/.github/scripts/generate-readme.js +++ b/.github/scripts/generate-readme.js @@ -26,6 +26,7 @@ Changes should be made to the readme-template.yml file and the generate-readme.j ${config.readme.summary} +${config.readme.commands} ## Known Issues ${config.readme.known_issues.map(issue => `- ${issue}`).join('\n')} diff --git a/CHANGELOG.md b/CHANGELOG.md index adba573..2f7eb91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +### Version 1.2.1 + +#### bugfix +* PR [#28](https://github.com/petercort/FBF-Buddy/pull/28) - Update refresh flow + + + ### Version 1.2.0 #### bugfix diff --git a/README.md b/README.md index a1a102f..c7cfa30 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ This README is autogenerated. Do not make modifications directly to this file. Changes should be made to the readme-template.yml file and the generate-readme.js script. --> -# Event Buddy +# FBF Discord Buddy -A discord plugin that manages event data! +A discord app that helps with random tasks in the FBF discord! ## Known Issues - No known issues diff --git a/app.version b/app.version index 26aaba0..6085e94 100644 --- a/app.version +++ b/app.version @@ -1 +1 @@ -1.2.0 +1.2.1 diff --git a/package.json b/package.json index 45795e2..0be3e07 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "fbf-buddy", "private": true, - "version": "1.2.0", + "version": "1.2.1", "description": "Cycling event app for Discord", "main": "app.js", "engines": { diff --git a/src/shared_library/strava_authentication.js b/src/shared_library/strava_authentication.js index f0b8ce0..059fbff 100644 --- a/src/shared_library/strava_authentication.js +++ b/src/shared_library/strava_authentication.js @@ -53,9 +53,9 @@ async function getStravaAuthentication(userData) { // Update the user record with the new tokens await UsersTable.update({ - stravaAccessToken: newAccessToken, - expiresAt: newExpiresAt, - refreshToken: newRefreshToken, + strava_access_token: newAccessToken, + strava_expires_at: newExpiresAt, + strava_refresh_token: newRefreshToken, }, { where: { userId: userData.userId } });