Skip to content

Commit

Permalink
Merge pull request AMPATH#22 from Rugute/main
Browse files Browse the repository at this point in the history
Merge pull request AMPATH#1 from AMPATH/main
  • Loading branch information
Rugute authored Mar 19, 2024
2 parents 68cae37 + 3d5fd1b commit bfb1c49
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import useSWR from 'swr';
import { Buffer } from 'buffer';
import { useConfig } from '@openmrs/esm-framework';
const moment = require('moment');
const username = '';
const password = '';
const basicAuthBase64 = Buffer.from(`${username}:${password}`).toString('base64');
const { basicAuthBase64 } = useConfig();
//const basicAuthBase644 = Buffer.from(`${username}:${password}`).toString('base64');

interface YearWeek {
id: string;
Expand Down

0 comments on commit bfb1c49

Please sign in to comment.