Closed asciidiego closed 2 years ago
In the following file on line 11 you have a return json( ... statement.
return json( ...
However, json is in the local scope of the function and it's a string. Did you mean to import the json function from @sveltejs/kit?
json
@sveltejs/kit
thank you. fixed here: https://github.com/sveltejs/realworld/commit/26d44c943b43d7e72e4e9ed786268a72f157f8cd
Context
In the following file on line 11 you have a
return json( ...
statement.However,
json
is in the local scope of the function and it's a string. Did you mean to import thejson
function from@sveltejs/kit
?