Skip to content

Commit 4cb9581

Browse files
authored
Merge branch 'master' into moar-tests
2 parents be9c27f + 90e003d commit 4cb9581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ export default class UserProfile extends Component {
238238

239239
actions = {
240240
login(this: UserProfile, email: string, password: string) {
241-
this.get('session').login(email, string);
241+
this.get('session').login(email, password);
242242
},
243243
};
244244
}
@@ -266,7 +266,7 @@ declare module '@ember/service' {
266266
}
267267
```
268268

269-
```
269+
```ts
270270
// my-app/components/user-profile.ts
271271
import Component from '@ember/component';
272272
import { inject as service } from '@ember/service';

0 commit comments

Comments
 (0)