Skip to content

Commit ca37991

Browse files
committed
RunResponse -> Run
1 parent fe035db commit ca37991

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23 AS builder
1+
FROM golang:1.24 AS builder
22

33
WORKDIR /app
44
COPY . .

utils/methods.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ func RefreshAstraToken(chromedpCtx context.Context) map[string][]string {
171171

172172
// Save all cookies to string
173173
cookieStr := ""
174-
_, err = chromedp.RunResponse(chromedpCtx,
175-
chromedp.WaitVisible(`body`, chromedp.ByQuery),
174+
err = chromedp.Run(chromedpCtx,
176175
chromedp.ActionFunc(func(ctx context.Context) error {
177176
cookies, err := network.GetCookies().Do(ctx)
178177
if err != nil {

0 commit comments

Comments
 (0)