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 = ({
3434
3535 if ( isAccessToken ( apiKey ) ) {
3636 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' ,
3838 )
3939 }
4040
4141 if ( isJwt ( apiKey ) || ! isSeamToken ( apiKey ) ) {
4242 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 } ` ,
4444 )
4545 }
4646
@@ -66,7 +66,7 @@ const getAuthHeadersForClientSessionToken = ({
6666
6767export class InvalidSeamTokenError extends Error {
6868 constructor ( message : string ) {
69- super ( `SeamHttp received an authorization invalid token: ${ message } ` )
69+ super ( `SeamHttp received an invalid token: ${ message } ` )
7070 this . name = this . constructor . name
7171 Error . captureStackTrace ( this , this . constructor )
7272 }
You can’t perform that action at this time.
0 commit comments