Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete playlist after migration #218

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.

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 ><

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