Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
SigNoz
Commits
76848b89
Commit
76848b89
authored
3 years ago
by
Ankit Nayan
Browse files
Options
Download
Email Patches
Plain Diff
fix: api method allowed
parent
3f323223
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/query-service/app/http_handler.go
+1
-1
pkg/query-service/app/http_handler.go
with
1 addition
and
1 deletion
+1
-1
pkg/query-service/app/http_handler.go
+
1
-
1
View file @
76848b89
...
...
@@ -55,7 +55,7 @@ type structuredError struct {
// RegisterRoutes registers routes for this handler on the given router
func
(
aH
*
APIHandler
)
RegisterRoutes
(
router
*
mux
.
Router
)
{
router
.
HandleFunc
(
"/api/v1/user"
,
aH
.
user
)
.
Methods
(
http
.
Method
Ge
t
)
router
.
HandleFunc
(
"/api/v1/user"
,
aH
.
user
)
.
Methods
(
http
.
Method
Pos
t
)
// router.HandleFunc("/api/v1/get_percentiles", aH.getApplicationPercentiles).Methods(http.MethodGet)
router
.
HandleFunc
(
"/api/v1/services"
,
aH
.
getServices
)
.
Methods
(
http
.
MethodGet
)
router
.
HandleFunc
(
"/api/v1/services/list"
,
aH
.
getServicesList
)
.
Methods
(
http
.
MethodGet
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment