File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ const getAuthHeadersForApiKey = ({
34
34
35
35
if ( isAccessToken ( apiKey ) ) {
36
36
throw new InvalidSeamTokenError (
37
- 'An access token cannot be used as an apiKey without specifying a workspaceId ' ,
37
+ 'An access token cannot be used as an apiKey' ,
38
38
)
39
39
}
40
40
41
41
if ( isJwt ( apiKey ) || ! isSeamToken ( apiKey ) ) {
42
42
throw new InvalidSeamTokenError (
43
- `Unknown or Invalid apiKey format, expected token to start with ${ tokenPrefix } ` ,
43
+ `Unknown or invalid apiKey format, expected token to start with ${ tokenPrefix } ` ,
44
44
)
45
45
}
46
46
@@ -66,7 +66,7 @@ const getAuthHeadersForClientSessionToken = ({
66
66
67
67
export class InvalidSeamTokenError extends Error {
68
68
constructor ( message : string ) {
69
- super ( `SeamHttp received an authorization invalid token: ${ message } ` )
69
+ super ( `SeamHttp received an invalid token: ${ message } ` )
70
70
this . name = this . constructor . name
71
71
Error . captureStackTrace ( this , this . constructor )
72
72
}
You can’t perform that action at this time.
0 commit comments