We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74e3dc2 commit 6ee8fb3Copy full SHA for 6ee8fb3
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@carbonhost/typescript",
3
- "version": "1.0.1",
+ "version": "1.0.2",
4
"main": "dist/index.js",
5
"module": "dist/index.mjs",
6
"types": "dist/index.d.ts",
src/carbon.ts
@@ -24,7 +24,7 @@ export class Carbon {
24
}
25
26
async getMe(forceRefresh?: boolean) {
27
- return this.axios.get<UserInfo>(`/v1/me${forceRefresh && "?forceRefresh=true"}`).then(res => res.data)
+ return this.axios.get<UserInfo>(`/v1/me${forceRefresh ? "?forceRefresh=true" : ""}`).then(res => res.data)
28
29
30
async createAPIKey({ name, description, type }: CreateAPIKeyType) {
0 commit comments