Skip to content

Commit 03742a8

Browse files
author
Sameer Dhar
committed
fix(app): fix dependency injection minsafe problem in auth service
coffeescript.
1 parent 70c6309 commit 03742a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: app/templates/client/components/auth(auth)/auth.service(coffee).coffee

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootScope, $http, User, $cookieStore, $q) ->
3+
angular.module('<%= scriptAppName %>').factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) ->
44
currentUser = {}
55
currentUser = User.get() if $cookieStore.get('token')
66

@@ -113,4 +113,4 @@ angular.module('<%= scriptAppName %>').factory 'Auth', Auth = ($location, $rootS
113113
Get auth token
114114
###
115115
getToken: ->
116-
$cookieStore.get 'token'
116+
$cookieStore.get 'token'

0 commit comments

Comments
 (0)