{
"issues": [
{
"code": "invalid_return_type",
"message": "Invalid function return type",
"path": [
"getDoc"
],
"returnTypeError": {
"issues": [
{
"code": "invalid_type",
"expected": "string",
"message": "Required",
"path": [
"key"
],
"received": "undefined"
}
],
"name": "ZodError"
}
}
],
"name": "ZodError"
}
error:
Upon further inspection, key is not included in the response from
getDoc. Should just be adding the key to the response json