Skip to content

Commit

Permalink
Merge pull request #1194 from imatrisciano/master
Browse files Browse the repository at this point in the history
Trim the code when importing a profile
  • Loading branch information
MythicManiac authored Feb 15, 2024
2 parents 084e711 + 13fd270 commit a1d7120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Profiles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ export default class Profiles extends Vue {
async importProfileUsingCode() {
try {
const filepath = await ProfileImportExport.downloadProfileCode(this.profileImportCode);
const filepath = await ProfileImportExport.downloadProfileCode(this.profileImportCode.trim());
await this.importProfileHandler([filepath]);
} catch (e: any) {
this.showError(R2Error.fromThrownValue(e, "Failed to import profile"));
Expand Down

0 comments on commit a1d7120

Please sign in to comment.