Skip to content

Commit

Permalink
Merge pull request #28 from petercort/update-refresh-flow
Browse files Browse the repository at this point in the history
Update refresh flow
  • Loading branch information
petercort authored Dec 29, 2024
2 parents 0404317 + 37535ec commit 855b1e2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/scripts/generate-readme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions src/shared_library/strava_authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
});
Expand Down

0 comments on commit 855b1e2

Please sign in to comment.