add token to empty bodies. fixes #100

This commit is contained in:
Ryan Stafford 2024-02-10 19:56:39 -05:00
parent b3f6a7149d
commit 1169457eaf
2 changed files with 3 additions and 3 deletions

2
go.mod
View file

@ -6,7 +6,7 @@ require (
github.com/dustin/go-humanize v1.0.1
github.com/julienschmidt/httprouter v1.3.0
github.com/k3a/html2text v1.2.1
github.com/rystaf/go-lemmy v0.0.0-20231217010740-5b1f4cc46ca8
github.com/rystaf/go-lemmy v0.0.0-20240211005246-545eb219c2f0
github.com/yuin/goldmark v1.5.4
golang.org/x/text v0.10.0
)

4
go.sum
View file

@ -12,8 +12,8 @@ github.com/julienschmidt/httprouter v1.3.0 h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4d
github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
github.com/k3a/html2text v1.2.1 h1:nvnKgBvBR/myqrwfLuiqecUtaK1lB9hGziIJKatNFVY=
github.com/k3a/html2text v1.2.1/go.mod h1:ieEXykM67iT8lTvEWBh6fhpH4B23kB9OMKPdIBmgUqA=
github.com/rystaf/go-lemmy v0.0.0-20231217010740-5b1f4cc46ca8 h1:GoUxHONo2E9L3pAhPj9FLSEteJYjZKZVHiYudj0uunE=
github.com/rystaf/go-lemmy v0.0.0-20231217010740-5b1f4cc46ca8/go.mod h1:pCCcm1YH2pDzoO8MqjcwnQGoMBwRRIvqMmYZosF1lXw=
github.com/rystaf/go-lemmy v0.0.0-20240211005246-545eb219c2f0 h1:N98Y/BxU2jbwODaTukoDwwlkoM4G+s04fPRvlNd1g+g=
github.com/rystaf/go-lemmy v0.0.0-20240211005246-545eb219c2f0/go.mod h1:pCCcm1YH2pDzoO8MqjcwnQGoMBwRRIvqMmYZosF1lXw=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=