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

Fix launcher thinking profile deletion failed #1095

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

DrakiaXYZ
Copy link
Contributor

The launcher currently thinks all profile deletions fail. This should fix it

Testing:

  • Create new profile (No need to log in)
  • Delete new profile

Reasoning:
We need to invert the returned value of the exists call, which means we need to actually await it instead of trying to return the inverse of the promise
I did a quick search over the codebase for other places we have Promise return types, and didn't see any other similar issues elsewhere

@chompDev chompDev merged commit fa31006 into sp-tarkov:4.0.0-DEV Jan 20, 2025
2 of 3 checks passed
@DrakiaXYZ DrakiaXYZ deleted the fix-delprofilestatus branch February 17, 2025 23:42
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