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(sync): 🐛 sync now uses the actual resource name #117

Merged
merged 3 commits into from
Jan 3, 2025

Conversation

kristian770
Copy link
Contributor

sna-sync now uses the GetParentResourceName in order to get the name of the resource. Also added error handling that prints out the url that is in the fetch request.

sna-sync now uses the GetParentResourceName in order to get the name of the resource. Also added error handling that prints out the url that is in the fetch request.
integrations/sync/nui-dev/src/main.ts Outdated Show resolved Hide resolved
Changed the new promise to a try catch
I added the check in-case FiveM desides they want to refactor their API.
@kristian770 kristian770 requested a review from casperiv0 January 2, 2025 16:12
@casperiv0 casperiv0 merged commit 3cc2b8e into SnailyCAD:main Jan 3, 2025
3 checks passed
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