update route path
This commit is contained in:
@@ -19,9 +19,9 @@ func GetEvents(c echo.Context) error {
|
||||
return c.Blob(resp.StatusCode, resp.Header.Get("Content-Type"), data)
|
||||
}
|
||||
|
||||
func GetMyEvents(c echo.Context) error {
|
||||
func GetTodayEvents(c echo.Context) error {
|
||||
data, err, resp := api.GetRequest(
|
||||
config.Env.MSHosts.EventsHost+"/me",
|
||||
config.Env.MSHosts.EventsHost+"/today",
|
||||
c.Request().Header, c.Request().URL.RawQuery)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user