Skip to content

Commit

Permalink
chore: 🤖 resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejrybaniec committed Sep 7, 2020
1 parent 8be02aa commit 350fb95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/js/app/queryCreator/modules/events/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const setEventsCollections = (collections: string[]): EventsActions => ({
payload: { collections },
});

export const schemaComputed = (
export const computeSchemaSuccess = (
collection: string,
schema: Partial<CollectionSchema>
): EventsActions => ({
Expand Down
4 changes: 2 additions & 2 deletions lib/js/app/queryCreator/modules/events/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
fetchCollectionSchema,
fetchCollectionSchemaSuccess,
fetchCollectionSchemaError,
schemaComputed,
computeSchemaSuccess,
} from './actions';
import {
getEventsCollections,
Expand All @@ -32,7 +32,7 @@ export {
getCollectionSchema,
getSchemas,
getSchemaLoading,
schemaComputed,
computeSchemaSuccess,
ReducerState,
FetchCollectionSchemaAction,
};
Expand Down
4 changes: 2 additions & 2 deletions lib/js/app/queryCreator/saga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import {
setEventsCollections,
setCollectionSchemaLoading,
getSchemas,
schemaComputed,
computeSchemaSuccess,
FETCH_COLLECTION_SCHEMA_SUCCESS,
FETCH_COLLECTION_SCHEMA,
SCHEMA_COMPUTED,
Expand Down Expand Up @@ -93,7 +93,7 @@ function* transformSchema(
list,
};

yield put(schemaComputed(collection, schema));
yield put(computeSchemaSuccess(collection, schema));
}

function* fetchSchema(action: FetchCollectionSchemaAction) {
Expand Down

0 comments on commit 350fb95

Please sign in to comment.