Skip to content

Commit 87313d8

Browse files
committed
chore(LicenseManager): fix types
1 parent 2a93320 commit 87313d8

File tree

1 file changed

+2
-2
lines changed
  • src/clients/janus/LicenseManager

1 file changed

+2
-2
lines changed

src/clients/janus/LicenseManager/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class LicenseManager extends JanusClient {
9797

9898
public getBinding = ({ adminUserAuthToken, bindingId }: OptionsGetBinding, config?: RequestConfig) => {
9999
const metric = 'lm-get-binding'
100-
return this.http.get<APIBindingRes[]>(routes.getBinding(bindingId), {
100+
return this.http.get<APIBindingRes>(routes.getBinding(bindingId), {
101101
inflightKey: inflightUrlWithQuery,
102102
memoizeable: true,
103103
metric,
@@ -163,7 +163,7 @@ export class LicenseManager extends JanusClient {
163163
})),
164164
}
165165

166-
return this.http.post<APICreateBindingRes[]>(routes.createBinding(), bindingObj, {
166+
return this.http.post<APICreateBindingRes>(routes.createBinding(), bindingObj, {
167167
inflightKey: inflightUrlWithQuery,
168168
metric,
169169
headers: {

0 commit comments

Comments
 (0)