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

Javascript outdated? #112

Open
hsean3 opened this issue Apr 4, 2024 · 0 comments · May be fixed by #113
Open

Javascript outdated? #112

hsean3 opened this issue Apr 4, 2024 · 0 comments · May be fixed by #113

Comments

@hsean3
Copy link

hsean3 commented Apr 4, 2024

I'm getting this error when I upload an image.

Unhandled Runtime Error
SyntaxError: Unexpected end of JSON input

Source
app\dream\page.tsx (91:29) @ json

89 | });
90 |

91 | let newPhoto = await res.json();
| ^
92 | if (res.status !== 200) {
93 | setError(newPhoto);
94 | } else {

Gopal-nd added a commit to Gopal-nd/roomGPT that referenced this issue Apr 20, 2024
@Gopal-nd Gopal-nd linked a pull request Apr 20, 2024 that will close this issue
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 a pull request may close this issue.

1 participant