Skip to content

Commit

Permalink
fix: chaging the returned values type
Browse files Browse the repository at this point in the history
  • Loading branch information
vandr0iy committed Dec 6, 2023
1 parent 1a57640 commit 5e48131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default class DatadogUsersApi {
const json = await this.#api.fetchJson({
path: `/api/v2/users/${encodeURIComponent(userId)}/memberships`,
});
return json as {data: Team};
return json as {data: TeamsResultPage<TeamMembership>};
}

}

0 comments on commit 5e48131

Please sign in to comment.