Get room from override
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
a9f79c3c27
commit
4b25a2722e
2
main.go
2
main.go
@ -120,7 +120,7 @@ func HandlePayloadPost(c *fiber.Ctx) error {
|
|||||||
overrideRoom := c.Query("roomID")
|
overrideRoom := c.Query("roomID")
|
||||||
if overrideRoom != "" {
|
if overrideRoom != "" {
|
||||||
fmt.Printf("Override room from query string: %s\n", overrideRoom)
|
fmt.Printf("Override room from query string: %s\n", overrideRoom)
|
||||||
payload.RoomID = overrideRoom
|
payload.RoomID = getRoom(overrideRoom)
|
||||||
}
|
}
|
||||||
overrideType := c.Query("type")
|
overrideType := c.Query("type")
|
||||||
if overrideType != "" {
|
if overrideType != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user