mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 15:03:57 +00:00
Update subproject commit reference and enhance GitHub workflows
- Updated the subproject commit reference in the skills directory. - Modified the build workflow to enable submodule fetching. - Standardized quotation styles in the package-and-publish workflow for consistency. - Refactored the `setSkillOAuthCredential` function for improved readability. - Added an attribute to the `Error` variant in the `SkillMessage` enum to suppress warnings for unused code.
This commit is contained in:
@@ -58,7 +58,10 @@ const skillsSlice = createSlice({
|
||||
}
|
||||
},
|
||||
|
||||
setSkillOAuthCredential(state, action: PayloadAction<{ skillId: string; credential: OAuthCredential | undefined }>) {
|
||||
setSkillOAuthCredential(
|
||||
state,
|
||||
action: PayloadAction<{ skillId: string; credential: OAuthCredential | undefined }>
|
||||
) {
|
||||
const { skillId, credential } = action.payload;
|
||||
if (state.skills[skillId]) {
|
||||
state.skills[skillId].oauthCredential = credential;
|
||||
|
||||
Reference in New Issue
Block a user