summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortjpcc <tjp@ctrl-c.club>2023-08-31 20:26:30 -0600
committertjpcc <tjp@ctrl-c.club>2023-08-31 20:26:30 -0600
commit7116f79e7a67d83a6ae6cc59316d8b5b63dc774c (patch)
tree72162f2cea19bdb1dc2f3e311ae7f24b98e2c4df
parent0fe9ec0c90bfe82f637f1897e47fec07f90805ec (diff)
a gopher MapDocument is a MenuType
-rw-r--r--gopher/response.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gopher/response.go b/gopher/response.go
index 527e742..042feba 100644
--- a/gopher/response.go
+++ b/gopher/response.go
@@ -91,7 +91,7 @@ func (md MapDocument) String() string {
// Meta will be the MapDocument itself.
func (md MapDocument) Response() *types.Response {
return &types.Response{
- Status: DocumentType,
+ Status: MenuType,
Meta: md,
Body: md.serialize(),
}