mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-09 08:16:11 +00:00
Fix whitespace in function signature
This commit is contained in:
parent
732ce9417b
commit
e73de3bfd4
1 changed files with 4 additions and 2 deletions
|
@ -25,8 +25,10 @@ module.exports = AuthorizationManager =
|
|||
# * privilegeLevel: "owner", "readAndWrite", of "readOnly" if the user has
|
||||
# access. false if the user does not have access
|
||||
# * 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?
|
||||
# User is Anonymous, Try Token-based access
|
||||
AuthorizationManager.getPublicAccessLevel project_id, (err, publicAccessLevel) ->
|
||||
|
|
Loading…
Add table
Reference in a new issue