@@ -68,5 +68,17 @@ func API_HandleQuery(query string, c *gin.Context) {
return
}
q:=c.Request.URL.Query()
format:=q["format"][0]
ifformat==""{
format="json"
}
ifformat=="csv"{
c.String(200,result.CSV())
return
}
c.JSON(200,result)
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.