Skip to content

bug: zod error on getDoc #3

@TillaTheHun0

Description

@TillaTheHun0

error:

{
        "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"
    }

Upon further inspection, key is not included in the response from getDoc. Should just be adding the key to the response json

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions