Skip to content

Commit 1b9a161

Browse files
authored
feat: changing URL for downloading the score jsonl data export (#692)
1 parent 43ff8de commit 1b9a161

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/passport/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe("operation", () => {
6969
await passportProvider.start();
7070

7171
expect(fetchMock).toHaveBeenCalledWith(
72-
"https://public.scorer.gitcoin.co/passport_scores/registry_score.jsonl"
72+
"https://nyc3.digitaloceanspaces.com/regendata/passport/registry_score.jsonl"
7373
);
7474
});
7575

@@ -99,15 +99,15 @@ describe("operation", () => {
9999
await vi.advanceTimersToNextTimerAsync();
100100

101101
expect(fetchMock).toHaveBeenCalledWith(
102-
"https://public.scorer.gitcoin.co/passport_scores/registry_score.jsonl"
102+
"https://nyc3.digitaloceanspaces.com/regendata/passport/registry_score.jsonl"
103103
);
104104

105105
fetchMock.mockClear();
106106

107107
await vi.advanceTimersToNextTimerAsync();
108108

109109
expect(fetchMock).toHaveBeenCalledWith(
110-
"https://public.scorer.gitcoin.co/passport_scores/registry_score.jsonl"
110+
"https://nyc3.digitaloceanspaces.com/regendata/passport/registry_score.jsonl"
111111
);
112112
});
113113
});

src/passport/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ export const createPassportProvider = (
199199

200200
const { db } = state;
201201
const res = await fetch(
202-
"https://public.scorer.gitcoin.co/passport_scores/registry_score.jsonl"
202+
"https://nyc3.digitaloceanspaces.com/regendata/passport/registry_score.jsonl"
203203
);
204204
const { body } = res;
205205

0 commit comments

Comments
 (0)