From f7ab55dda647dbe4a8e9ee854dbeef28a485e344 Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Thu, 5 Dec 2024 23:59:58 -0800 Subject: [PATCH] Fix Method Case For consistency re-casing this method name to match what we have everywhere else in the application. --- packages/frontend/app/components/bulk-new-users.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/app/components/bulk-new-users.js b/packages/frontend/app/components/bulk-new-users.js index 4c9649eb82..59dc29cac5 100644 --- a/packages/frontend/app/components/bulk-new-users.js +++ b/packages/frontend/app/components/bulk-new-users.js @@ -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); } @@ -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)) {