Skip to content

Commit

Permalink
fix: setting old import url
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnvdkolk committed Mar 8, 2024
1 parent 61e94d3 commit b4a5361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/imports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ const Imports = () => {
if (isUploading) return;
setIsUploading(true);

api.options.http.apiUrl = 'https://import.stats.fm/api';
const oldUrl = api.options.http.apiUrl;
api.options.http.apiUrl = 'https://import.stats.fm/api';
// eslint-disable-next-line no-restricted-syntax
for (const uploadedFile of uploadedFiles) {
if (uploadedFile!.status !== UploadedFilesStatus.Ready) continue;
Expand Down

0 comments on commit b4a5361

Please sign in to comment.