mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Make linters happy
This commit is contained in:
parent
a6d47d2fa9
commit
66b69a43b5
|
|
@ -101,7 +101,10 @@ func CreateRoom(req *http.Request, device *authtypes.Device,
|
||||||
|
|
||||||
queryReq := api.QueryReserveRoomIDRequest{RoomID: checkRoomID}
|
queryReq := api.QueryReserveRoomIDRequest{RoomID: checkRoomID}
|
||||||
var queryResp api.QueryReserveRoomIDResponse
|
var queryResp api.QueryReserveRoomIDResponse
|
||||||
queryAPI.QueryReserveRoomID(req.Context(), &queryReq, &queryResp)
|
err := queryAPI.QueryReserveRoomID(req.Context(), &queryReq, &queryResp)
|
||||||
|
if err != nil {
|
||||||
|
return httputil.LogThenError(req, err)
|
||||||
|
}
|
||||||
|
|
||||||
if queryResp.Success {
|
if queryResp.Success {
|
||||||
roomID = checkRoomID
|
roomID = checkRoomID
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue