diff --git a/CHANGELOG.md b/CHANGELOG.md index a602368e..be955bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -### Added +### - fixed typo in adapter.go from /laundry/reqeustservice to /laundry/requestservice ## [2.0.12] ### Added diff --git a/SECURITY.md b/SECURITY.md index 06f777e5..75301650 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -4,8 +4,8 @@ Patches for **Gateway Building Block** in this repository will only be applied to the following versions: | Version | Supported | | ------- | ------------------ | -| 2.0.12 | :white_check_mark: | -| < 2.0.12| :x: | +| 2.0.13 | :white_check_mark: | +| < 2.0.13| :x: | ## Reporting a Bug or Vulnerability diff --git a/driver/web/adapter.go b/driver/web/adapter.go index 560e6523..0e3048fd 100644 --- a/driver/web/adapter.go +++ b/driver/web/adapter.go @@ -76,7 +76,7 @@ func (a Adapter) Start() { mainRouter.HandleFunc("/laundry/rooms", a.wrapFunc(a.clientAPIsHandler.getLaundryRooms, a.auth.client.User)).Methods("GET") mainRouter.HandleFunc("/laundry/room", a.wrapFunc(a.clientAPIsHandler.getRoomDetails, a.auth.client.User)).Methods("GET") mainRouter.HandleFunc("/laundry/initrequest", a.wrapFunc(a.clientAPIsHandler.initServiceRequest, a.auth.client.User)).Methods("GET") - mainRouter.HandleFunc("/laundry/reqeustservice", a.wrapFunc(a.clientAPIsHandler.submitServiceRequest, nil)).Methods("GET") + mainRouter.HandleFunc("/laundry/requestservice", a.wrapFunc(a.clientAPIsHandler.submitServiceRequest, nil)).Methods("POST") mainRouter.HandleFunc("/wayfinding/building", a.wrapFunc(a.clientAPIsHandler.getBuilding, a.auth.client.Standard)).Methods("GET") mainRouter.HandleFunc("/wayfinding/entrance", a.wrapFunc(a.clientAPIsHandler.getEntrance, a.auth.client.Standard)).Methods("GET") diff --git a/driver/web/docs/gen/def.yaml b/driver/web/docs/gen/def.yaml index 88b2bfc3..24a8dd67 100644 --- a/driver/web/docs/gen/def.yaml +++ b/driver/web/docs/gen/def.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: Rokwire Gateway Building Block API description: Gateway Building Block API Documentation - version: 2.0.12 + version: 2.0.13 servers: - url: 'https://api.rokwire.illinois.edu/gateway' description: Production server diff --git a/driver/web/docs/index.yaml b/driver/web/docs/index.yaml index b0c8b868..fa0d8da3 100644 --- a/driver/web/docs/index.yaml +++ b/driver/web/docs/index.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: Rokwire Gateway Building Block API description: Gateway Building Block API Documentation - version: 2.0.12 + version: 2.0.13 servers: - url: 'https://api.rokwire.illinois.edu/gateway' description: Production server