Skip to content

Commit

Permalink
Merge pull request #232 from aalves08/fix-download-machine-registration
Browse files Browse the repository at this point in the history
fix bug preventing download of machine registration
  • Loading branch information
aalves08 authored Nov 25, 2024
2 parents 5162868 + 52d820e commit e10658b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export default class MachineRegistration extends ElementalResource {

async getMachineRegistrationData() {
try {
const url = `/elemental/registration/${ this.status.registrationToken }`;
const inStore = this.$rootGetters['currentStore']();
const res = await this.$dispatch(`${ inStore }/request`, { url, responseType: 'blob' }, { root: true });

Expand Down
2 changes: 1 addition & 1 deletion pkg/elemental/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "elemental",
"description": "OS Management extension",
"version": "3.0.0-rc.2",
"version": "3.0.0-rc.3",
"private": false,
"rancher": {
"annotations": {
Expand Down

0 comments on commit e10658b

Please sign in to comment.