We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c106100 commit da74e84Copy full SHA for da74e84
โsrc/api/getRecipients.jsโ
@@ -1,6 +1,7 @@
1
import { api } from './api';
2
3
export default async function getRecipients() {
4
- const res = await api.get('/13-5/recipients/');
+ const teamId = import.meta.env.VITE_TEAM_ID;
5
+ const res = await api.get(`/${teamId}/recipients/`);
6
return res.data;
7
}
0 commit comments