mirror of
https://github.com/Xevion/banner.git
synced 2025-12-16 22:11:14 -06:00
refactor: rearrange & rename files, fix meeting times response decode
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package api
|
||||
|
||||
import (
|
||||
"banner/internal/utils"
|
||||
"banner/internal"
|
||||
"net/url"
|
||||
|
||||
log "github.com/rs/zerolog/log"
|
||||
@@ -18,7 +18,7 @@ func (a *API) Setup() {
|
||||
|
||||
for _, path := range requestQueue {
|
||||
req := a.config.Client.NewRequest().
|
||||
SetQueryParam("_", utils.Nonce()).
|
||||
SetQueryParam("_", internal.Nonce()).
|
||||
SetExpectResponseContentType("application/json")
|
||||
|
||||
res, err := req.Get(path)
|
||||
|
||||
Reference in New Issue
Block a user