Skip to content

Commit

Permalink
fix(user-profile): Hook up to new user profile client (#6159)
Browse files Browse the repository at this point in the history
* hooked api domains user profile to clients

* removed unecessary generator

* format

Co-authored-by: Rafn Árnason <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 6, 2022
1 parent 33aed9a commit dff7388
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DynamicModule } from '@nestjs/common'
import { Configuration, UserProfileApi } from '../../gen/fetch'
import { Configuration, UserProfileApi } from '@island.is/clients/user-profile'
import { UserProfileResolver } from './userProfile.resolver'
import { UserProfileService } from './userProfile.service'
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
UserProfileApi,
UserProfileControllerCreateRequest,
UserProfileControllerUpdateRequest,
} from '../../gen/fetch'
} from '@island.is/clients/user-profile'
import { UpdateUserProfileInput } from './dto/updateUserProfileInput'
import { CreateUserProfileInput } from './dto/createUserProfileInput'
import { CreateSmsVerificationInput } from './dto/createSmsVerificationInput'
Expand Down
7 changes: 0 additions & 7 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -1456,13 +1456,6 @@
"passWithNoTests": true
},
"outputs": ["coverage/libs/api/domains/user-profile"]
},
"schemas/openapi-generator": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"outputPath": "libs/api/domains/user-profile/gen/fetch",
"command": "yarn openapi-generator -o libs/api/domains/user-profile/gen/fetch -i apps/services/user-profile/src/openapi.yaml"
}
}
}
},
Expand Down

0 comments on commit dff7388

Please sign in to comment.