fix api url
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
0b459825aa
commit
eb5f892003
@ -121,7 +121,7 @@
|
||||
}, 60 * 1000);
|
||||
|
||||
if (transcriptFileInput.files.length > 0) {
|
||||
const presignTranscriptRes = await axios.get(`${IMPORT_URL}/api/${guildId}/import/presign?file_size=${transcriptFileInput.files[0].size}&file_type=transcripts`);
|
||||
const presignTranscriptRes = await axios.get(`${API_URL}/api/${guildId}/import/presign?file_size=${transcriptFileInput.files[0].size}&file_type=transcripts`);
|
||||
if (presignTranscriptRes.status !== 200) {
|
||||
notifyError(`Failed to upload transcripts: ${presignTranscriptRes.data.error}`);
|
||||
queryLoading = false;
|
||||
@ -147,7 +147,7 @@
|
||||
}
|
||||
|
||||
if (dataFileInput.files.length > 0) {
|
||||
const presignDataRes = await axios.get(`${IMPORT_URL}/api/${guildId}/import/presign?file_size=${dataFileInput.files[0].size}&file_type=data`);
|
||||
const presignDataRes = await axios.get(`${API_URL}/api/${guildId}/import/presign?file_size=${dataFileInput.files[0].size}&file_type=data`);
|
||||
if (presignDataRes.status !== 200) {
|
||||
notifyError(`Failed to upload data: ${presignDataRes.data.error}`);
|
||||
queryLoading = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user