Skip to content

Commit

Permalink
Include cross save platform IDs in token
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Oct 20, 2024
1 parent 089c19e commit 7dba8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes/auth-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const authTokenHandler = asyncHandler(async (req, res) => {
const profileIds = _.sortBy(
responseData.Response.destinyMemberships
// Filter out accounts that are tied to another platform's cross-save account.
.filter((m) => !m.crossSaveOverride || m.crossSaveOverride === m.membershipType)
// .filter((m) => !m.crossSaveOverride || m.crossSaveOverride === m.membershipType)
.map((m) => m.membershipId),
// Sort the primary membership ID so it's always the first one (if it
// exists?). The only reason someone would have multiple accounts is if
Expand Down

0 comments on commit 7dba8ff

Please sign in to comment.