Skip to content

Comments

delete playlist after migration#218

Open
Schippi wants to merge 3 commits intoBeatLeader:masterfrom
Schippi:playlistpage
Open

delete playlist after migration#218
Schippi wants to merge 3 commits intoBeatLeader:masterfrom
Schippi:playlistpage

Conversation

@Schippi
Copy link
Contributor

@Schippi Schippi commented Sep 16, 2023

if you created a playlist and then migrated your account you cannot delete it since the saved owner-id is still the one from the unmigrated account.

@netlify
Copy link

netlify bot commented Sep 16, 2023

Deploy Preview for nostalgic-kare-ad710f ready!

Name Link
🔨 Latest commit 83317ce
🔍 Latest deploy log https://app.netlify.com/sites/nostalgic-kare-ad710f/deploys/6515c0b621a54700086914a7
😎 Deploy Preview https://deploy-preview-218--nostalgic-kare-ad710f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

let owner = playerService.fetchPlayerOrGetFromCache(element);
if (owner?.playerId != playerId) {
canModify = false;
if (playerService.isMainPlayer(owner.playerId)) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cause of this issue is that I added keepOriginalId=true to the fetchPlayer request. So the player fetched by the old ID has it as a playerId property. Let's make it a param and set it here to false, so it will return a new ID.

@Schippi
Copy link
Contributor Author

Schippi commented Sep 28, 2023

i probably broke something somewhere with this ><

@NSGolova NSGolova force-pushed the master branch 2 times, most recently from ae39552 to 0ff2e35 Compare January 24, 2025 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants