From 5d90812f15fdce47548b577b399b798269f87dac Mon Sep 17 00:00:00 2001 From: rxdn <29165304+rxdn@users.noreply.github.com> Date: Sat, 10 Jul 2021 17:10:23 +0100 Subject: [PATCH] Bump db --- app/http/endpoints/api/transcripts/get.go | 1 - go.mod | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/http/endpoints/api/transcripts/get.go b/app/http/endpoints/api/transcripts/get.go index 418ab8d..b22705b 100644 --- a/app/http/endpoints/api/transcripts/get.go +++ b/app/http/endpoints/api/transcripts/get.go @@ -24,7 +24,6 @@ func GetTranscriptHandler(ctx *gin.Context) { // get ticket object ticket, err := database.Client.Tickets.Get(ticketId, guildId) if err != nil { - // TODO: 500 error page ctx.AbortWithStatusJSON(500, gin.H{ "success": false, "error": err.Error(), diff --git a/go.mod b/go.mod index 74f79b0..a1007d7 100644 --- a/go.mod +++ b/go.mod @@ -6,22 +6,27 @@ require ( github.com/BurntSushi/toml v0.3.1 github.com/TicketsBot/archiverclient v0.0.0-20210220155137-a562b2f1bbbb github.com/TicketsBot/common v0.0.0-20210604175952-03cfa14c16e1 - github.com/TicketsBot/database v0.0.0-20210703200035-33b8cc0a309c - github.com/TicketsBot/worker v0.0.0-20210528135955-34744f610804 + github.com/TicketsBot/database v0.0.0-20210710160944-ec55cdb1c460 + github.com/TicketsBot/worker v0.0.0-20210707141121-23386b31d584 github.com/apex/log v1.1.2 github.com/boj/redistore v0.0.0-20180917114910-cd5dcc76aeff // indirect github.com/dgrijalva/jwt-go v3.2.0+incompatible + github.com/elliotchance/orderedmap v1.2.1 // indirect github.com/gin-contrib/static v0.0.0-20191128031702-f81c604d8ac2 github.com/gin-gonic/contrib v0.0.0-20191209060500-d6e26eeaa607 github.com/gin-gonic/gin v1.7.1 github.com/go-redis/redis v6.15.9+incompatible github.com/gorilla/sessions v1.2.0 // indirect github.com/gorilla/websocket v1.4.2 + github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect github.com/jackc/pgx/v4 v4.7.1 + github.com/klauspost/compress v1.10.10 // indirect github.com/pasztorpisti/qs v0.0.0-20171216220353-8d6c33ee906c github.com/pkg/errors v0.9.1 github.com/rxdn/gdl v0.0.0-20210701115435-816eb486d5d0 github.com/sirupsen/logrus v1.5.0 github.com/ulule/limiter/v3 v3.5.0 + golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 // indirect golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a + gopkg.in/alexcesaro/statsd.v2 v2.0.0 // indirect )