Skip to content

Fix options for data sent to UI#40

Open
Dalrae1 wants to merge 1 commit intocitizenfx:masterfrom
Dalrae1:patch-1
Open

Fix options for data sent to UI#40
Dalrae1 wants to merge 1 commit intocitizenfx:masterfrom
Dalrae1:patch-1

Conversation

@Dalrae1
Copy link

@Dalrae1 Dalrae1 commented Sep 17, 2022

This will allow screenshot_basic:requestScreenshot to actually work correctly. The original code would not receive the options, and would cause the server export "requestClientScreenshot" to not send any requests back to the server when fileName is nil. Since the readme states that an undefined fileName should return a data uri this is the incorrect behavior

This will allow screenshot_basic:requestScreenshot to actually work correctly. 
The original code would not receive the options, and would cause the server export "requestClientScreenshot" to not send any requests back to the server when fileName is nil. 
Since the readme states that an undefined fileName should return a data uri this is the incorrect behavior
@MeronStudioDEV
Copy link

Uncaught (in promise) TypeError: Failed to fetch (@screenshot-basic/dist/ui.html:19)

i dont now why

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