Procházet zdrojové kódy

Fix whitespace in function signature

Shane Kilkelly před 9 roky
rodič
revize
e73de3bfd4

+ 4 - 2
services/web/app/coffee/Features/Authorization/AuthorizationManager.coffee

@@ -25,8 +25,10 @@ module.exports = AuthorizationManager =
 	#	* privilegeLevel: "owner", "readAndWrite", of "readOnly" if the user has
 	#	* privilegeLevel: "owner", "readAndWrite", of "readOnly" if the user has
 	#	  access. false if the user does not have access
 	#	  access. false if the user does not have access
 	#   * becausePublic: true if the access level is only because the project is public.
 	#   * becausePublic: true if the access level is only because the project is public.
-	getPrivilegeLevelForProject: (req, user_id, project_id,
-																callback = (error, privilegeLevel, becausePublic) ->) ->
+	getPrivilegeLevelForProject: (
+		req, user_id, project_id,
+		callback = (error, privilegeLevel, becausePublic) ->
+	) ->
 		if !user_id?
 		if !user_id?
 			# User is Anonymous, Try Token-based access
 			# User is Anonymous, Try Token-based access
 			AuthorizationManager.getPublicAccessLevel project_id, (err, publicAccessLevel) ->
 			AuthorizationManager.getPublicAccessLevel project_id, (err, publicAccessLevel) ->