Closed josephmturner closed 1 year ago
GET requests to a hyperdrive alias which hasn't been created by a POST like the following:
GET
POST
fetch(`hyper://localhost/?key=NOT-CREATED-YET`, { method: 'get' })
should return
{ status: 400, body: 'Must create key with POST before reading' }
but instead I get a TypeError.
I think getDBCoreForName is throwing an error before the if-block can run.
if
Thank you! I can confirm this is no longer an issue.
GET
requests to a hyperdrive alias which hasn't been created by aPOST
like the following:should return
but instead I get a TypeError.
I think getDBCoreForName is throwing an error before the
if
-block can run.