Skip to content

Commit 76fc97f

Browse files
authored
fix: handle additional slack auth resp (#104)
1 parent aa86b0f commit 76fc97f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vesselapi/integrations",
3-
"version": "0.0.72",
3+
"version": "0.0.73",
44
"description": "Vessel integrations",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

src/platforms/slack/schemas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const slackPaginated = custom.object({
99

1010
export const slackExpiredAuth = custom.object({
1111
ok: z.literal(false),
12-
error: z.literal('token_expired'),
12+
error: z.enum(['token_expired', 'invalid_auth']),
1313
});
1414

1515
export const slackUser = custom.object({

0 commit comments

Comments
 (0)