Skip to content

Commit f54219e

Browse files
committed
fix sagas
1 parent 0c0eac4 commit f54219e

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

  • modules/openapi-generator/src/main/resources/typescript-fetch
  • samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis

modules/openapi-generator/src/main/resources/typescript-fetch/allSagas.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { all, fork } from "redux-saga/effects";
44
{{#apis}}
55
import {
66
{{#lambda.camelcase}}{{classFilename}}{{/lambda.camelcase}}AllSagas,
7-
} from "./{{classFilename}}{{importFileExtension}}";
7+
} from "./{{classFilename}}Sagas{{importFileExtension}}";
88
{{/apis}}
99
{{/apiInfo}}
1010

samples/client/petstore/typescript-fetch/builds/sagas-and-records/src/apis/allSagas.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ import { all, fork } from "redux-saga/effects";
22

33
import {
44
behaviorApiAllSagas,
5-
} from "./BehaviorApi";
5+
} from "./BehaviorApiSagas";
66
import {
77
petApiAllSagas,
8-
} from "./PetApi";
8+
} from "./PetApiSagas";
99
import {
1010
petPartApiAllSagas,
11-
} from "./PetPartApi";
11+
} from "./PetPartApiSagas";
1212
import {
1313
storeApiAllSagas,
14-
} from "./StoreApi";
14+
} from "./StoreApiSagas";
1515
import {
1616
userApiAllSagas,
17-
} from "./UserApi";
17+
} from "./UserApiSagas";
1818

1919
export function *allApiSagas() {
2020
yield all([

0 commit comments

Comments
 (0)