Skip to content

Commit

Permalink
Add some comments in code
Browse files Browse the repository at this point in the history
  • Loading branch information
p3rcypj committed Feb 5, 2025
1 parent 3dac3e3 commit 6780114
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/repositories/Dhis2ConfigRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class Dhis2ConfigRepository implements ConfigRepository {
this.storageClient = new DataStoreStorageClient("global", this.instance);
}

// FIXME: This method is being used in other repositories, something that shouldn't happen (code smell)
@cache()
public async getUser(): Promise<User> {
const d2User = await this.api.currentUser
Expand Down

0 comments on commit 6780114

Please sign in to comment.