Skip to content

Commit 6ee8fb3

Browse files
committed
update uhnddfeinded
1 parent 74e3dc2 commit 6ee8fb3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@carbonhost/typescript",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "dist/index.js",
55
"module": "dist/index.mjs",
66
"types": "dist/index.d.ts",

src/carbon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class Carbon {
2424
}
2525

2626
async getMe(forceRefresh?: boolean) {
27-
return this.axios.get<UserInfo>(`/v1/me${forceRefresh && "?forceRefresh=true"}`).then(res => res.data)
27+
return this.axios.get<UserInfo>(`/v1/me${forceRefresh ? "?forceRefresh=true" : ""}`).then(res => res.data)
2828
}
2929

3030
async createAPIKey({ name, description, type }: CreateAPIKeyType) {

0 commit comments

Comments
 (0)