Skip to content

Commit

Permalink
chore(api-kit): update comment to be more explicti
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanra committed Jan 22, 2025
1 parent c9a7eee commit 5375010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api-kit/src/SafeApiKit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class SafeApiKit {
url: `${this.#txServiceBaseUrl}/v1/safes/${address}/`,
method: HttpMethod.Get
}).then((response: any) => {

Check warning on line 261 in packages/api-kit/src/SafeApiKit.ts

View workflow job for this annotation

GitHub Actions / eslint

Unexpected any. Specify a different type
// FIXME remove when service returns the singleton property
// FIXME remove when the transaction service returns the singleton property instead of masterCopy
if (!response?.singleton) {
const { masterCopy, ...rest } = response
return { ...rest, singleton: masterCopy } as SafeInfoResponse
Expand Down

0 comments on commit 5375010

Please sign in to comment.