fix: Fixes API routing for connections.

This commit is contained in:
imterah 2024-12-23 19:17:54 -05:00
parent af6ee6ab66
commit 495dff3de1
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
2 changed files with 3 additions and 1 deletions

View file

@ -37,7 +37,7 @@ type ConnectionsResponse struct {
Data []*SanitizedConnection `json:"data"`
}
func Connections(c *gin.Context) {
func GetConnections(c *gin.Context) {
var req ConnectionsRequest
if err := c.BindJSON(&req); err != nil {