Skip to content

Commit 4e1fde2

Browse files
committed
Make team not found error say team rather than user
1 parent 07245fc commit 4e1fde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/team.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default Route.extend({
3131
},
3232
(e) => {
3333
if (e.errors.some(e => e.detail === 'Not Found')) {
34-
this.get('flashMessages').queue(`User '${params.team_id}' does not exist`);
34+
this.get('flashMessages').queue(`Team '${params.team_id}' does not exist`);
3535
return this.replaceWith('index');
3636
}
3737
}

0 commit comments

Comments
 (0)