Skip to content

Commit 96653af

Browse files
kushthedudeiamareebjamal
authored andcommitted
fix: AccessURL generated is fixed (#3830)
1 parent 8a8245d commit 96653af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/forms/events/view/create-access-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default Component.extend(FormMixin, {
102102
accessLink : computed('data.code', function() {
103103
const params = this.get('router._router.currentState.routerJsState.params');
104104
const origin = this.get('fastboot.isFastBoot') ? `${this.get('fastboot.request.protocol')}//${this.get('fastboot.request.host')}` : location.origin;
105-
let link = origin + this.router.urlFor('public', params['events.view'].event_id, { queryParams: { access_code: this.get('data.code') } });
105+
let link = origin + this.router.urlFor('public', params['events.view'].event_id, { queryParams: { code: this.get('data.code') } });
106106
this.set('data.accessUrl', link);
107107
return link;
108108
}),

0 commit comments

Comments
 (0)