Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 馃悰 typo #993

Merged
merged 1 commit into from
Jul 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/conversation-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export function conversationContext<ConversationState = any>(
context.conversation = await store.get(conversationId);
logger.debug(`Conversation context loaded for ID: ${conversationId}`);
} catch (error) {
if (error.messsage !== undefined && error.message !== 'Conversation not found') {
if (error.message !== undefined && error.message !== 'Conversation not found') {
// The conversation data can be expired - error: Conversation expired
logger.debug(`Conversation context failed loading for ID: ${conversationId}, error: ${error.message}`);
}
Expand Down
2 changes: 1 addition & 1 deletion types-tests/utilities.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.action<InteractiveButtonClick>('my_callback_id', async ({ respond, say }) =>
const response = await say({ text: 'Some more text' });
expectType<ChatPostMessageResponse>(response);

// sicne web-api v6.2, this is not an error anymore
// since web-api v6.2, this is not an error anymore
// Expect an error when calling say without text
// expectError(await say({ blocks: [] }));
});