Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

fix(package/callback): fix broken js callbacks#742

Merged
thelindat merged 1 commit intooverextended:masterfrom
thaibossaw:master
Apr 1, 2025
Merged

fix(package/callback): fix broken js callbacks#742
thelindat merged 1 commit intooverextended:masterfrom
thaibossaw:master

Conversation

@thaibossaw
Copy link
Contributor

In the current version, ox_lib's callbacks registered via JS package are broken.

Cause:
The eventName is being mutated before calling exports.ox_lib.setValidCallback(eventName, true) which causes all callback requests to fail.

This pull request resolves #740.

This commit reverts commit 87818b3.

@thelindat thelindat merged commit c397963 into overextended:master Apr 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Callbacks in the JS package are broken

2 participants