Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit c1ce29f

Browse files
committed
v1.2.0
1 parent e174e3c commit c1ce29f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/routers/messages/messages.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ func New(c api.ApiClient) (a) {
3636
return r
3737
}
3838

39-
// Retrive rooms information
40-
func (r a) GetRooms(company string) (*http.Response, []byte) {
41-
return r.client.Get("/messages/v3/" + company + "/rooms", nil)
39+
// Retrieve rooms information
40+
func (r a) GetRooms(company string, params map[string]string) (*http.Response, []byte) {
41+
return r.client.Get("/messages/v3/" + company + "/rooms", params)
4242
}
4343

4444
// Get a specific room information

0 commit comments

Comments
 (0)