summaryrefslogtreecommitdiff
path: root/internal/api/client/reports/reports.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/reports/reports.go')
-rw-r--r--internal/api/client/reports/reports.go12
1 files changed, 3 insertions, 9 deletions
diff --git a/internal/api/client/reports/reports.go b/internal/api/client/reports/reports.go
index e881474fb..b10697c1f 100644
--- a/internal/api/client/reports/reports.go
+++ b/internal/api/client/reports/reports.go
@@ -21,19 +21,13 @@ import (
"net/http"
"github.com/gin-gonic/gin"
+ apiutil "github.com/superseriousbusiness/gotosocial/internal/api/util"
"github.com/superseriousbusiness/gotosocial/internal/processing"
)
const (
- BasePath = "/v1/reports"
- IDKey = "id"
- ResolvedKey = "resolved"
- TargetAccountIDKey = "target_account_id"
- MaxIDKey = "max_id"
- SinceIDKey = "since_id"
- MinIDKey = "min_id"
- LimitKey = "limit"
- BasePathWithID = BasePath + "/:" + IDKey
+ BasePath = "/v1/reports"
+ BasePathWithID = BasePath + "/:" + apiutil.IDKey
)
type Module struct {