Skip to content

Commit

Permalink
Apply prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaSBrown committed Jan 13, 2025
1 parent 2f6e767 commit ad3f203
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/database/foxx/api/authz_router.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ router
// Determine permissions associated with path provided
// Actions: read, write, create, delete, chdir, lookup
if (Object.keys(authzModule.authz_strategy).includes(req.queryParams.act)) {
authzModule.authz_strategy[req.queryParams.act][path_type](client, req.queryParams.file);
authzModule.authz_strategy[req.queryParams.act][path_type](
client,
req.queryParams.file,
);
} else {
throw [g_lib.ERR_INVALID_PARAM, "Invalid gridFTP action: ", req.queryParams.act];
}
Expand Down

0 comments on commit ad3f203

Please sign in to comment.