Skip to content

Commit

Permalink
Fix Method Case
Browse files Browse the repository at this point in the history
For consistency re-casing this method name to match what we have
everywhere else in the application.
  • Loading branch information
jrjohnson committed Dec 6, 2024
1 parent 08d212e commit f7ab55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/app/components/bulk-new-users.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default class BulkNewUsersComponent extends Component {
this.primaryCohortId = id;
}

async getExistingUserNames() {
async getExistingUsernames() {
const authentications = await this.store.findAll('authentication');
return mapBy(authentications, 'username').filter(Boolean);
}
Expand All @@ -181,7 +181,7 @@ export default class BulkNewUsersComponent extends Component {
**/
async getFileContents(file) {
this.fileUploadError = false;
const existingUsernames = await this.getExistingUserNames();
const existingUsernames = await this.getExistingUsernames();
return new Promise((resolve) => {
const allowedFileTypes = ['text/plain', 'text/csv', 'text/tab-separated-values'];
if (!allowedFileTypes.includes(file.type)) {
Expand Down

0 comments on commit f7ab55d

Please sign in to comment.