Skip to content

Commit a23297b

Browse files
committed
fix tests
1 parent a7e2c6f commit a23297b

File tree

1 file changed

+3
-1
lines changed
  • coderd/workspaceapps

1 file changed

+3
-1
lines changed

coderd/workspaceapps/db.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"strings"
1111
"time"
1212

13+
"github.com/google/uuid"
1314
"golang.org/x/xerrors"
1415

1516
"cdr.dev/slog"
@@ -75,7 +76,8 @@ func (p *DBTokenProvider) Issue(ctx context.Context, rw http.ResponseWriter, r *
7576
}
7677

7778
token := SignedToken{
78-
Request: appReq,
79+
Request: appReq,
80+
SessionID: uuid.New(),
7981
}
8082

8183
// We use the regular API apiKey extraction middleware fn here to avoid any

0 commit comments

Comments
 (0)