Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 76cd479

Browse files
committed
Merge pull request #20 from stryju/patch-1
Update Authenticated.js
2 parents 1c37dbf + 856edc2 commit 76cd479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/Authentication/Authenticated.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.config(function($stateProvider)
1212
templateUrl: 'modules/Authenticated/Authenticated.html',
1313
abstract: true,
1414
resolve: {
15-
authenticatedUser: (User, Authentication, $state, $q, $http) => {
15+
user: (User, Authentication, $state, $q) => {
1616
return Authentication.checkCredentials().then((response) => {
1717
return new User(response.data);
1818
}, (error) => {

0 commit comments

Comments
 (0)