mirror of
https://github.com/BradNut/svelteKitForBeginners
synced 2025-09-08 17:40:24 +00:00
Fixing content type on home get api.
This commit is contained in:
parent
63b6fc2ed8
commit
9d13216fea
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ export const get: RequestHandler = async () => {
|
|||
}
|
||||
|
||||
return {
|
||||
headers: { 'Content-Type': 'application/json ' },
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
status: 200,
|
||||
body: { tweets }
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue