Skip to content

Commit

Permalink
Use 401
Browse files Browse the repository at this point in the history
hansott committed Jan 27, 2025
1 parent 04f6dbd commit 4f7c7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/agent/realtime/getConfigLastUpdatedAt.ts
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ export async function getConfigLastUpdatedAt(token: Token): Promise<number> {
timeoutInMS: 3000,
});

if (statusCode === 403) {
if (statusCode === 401) {
throw new Error("Token is invalid");
}

0 comments on commit 4f7c7ae

Please sign in to comment.