Skip to content

Commit

Permalink
add get tenant detail api
Browse files Browse the repository at this point in the history
  • Loading branch information
p29hieu committed Feb 12, 2024
1 parent e154c50 commit 10b8efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fincode",
"version": "1.1.0",
"version": "1.1.1",
"description": "Type scripts for Fincode",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class FincodeService {
onSuccess?: FincodeNs.Callback.Success<FincodeNs.Tenant.TenantDetail>;
onError?: FincodeNs.Callback.Error;
},
): Promise<FincodeNs.Sale.SaleDetailResponse> {
): Promise<FincodeNs.Tenant.TenantDetail> {
try {
const endpoint = "/v1/tenants/{id}".replace("{id}", ID);
const { data } = await this.service.get(endpoint);
Expand Down

0 comments on commit 10b8efb

Please sign in to comment.