diff --git a/packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx b/packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx index af42c71ae..34ac4f5ab 100644 --- a/packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx +++ b/packages/openneuro-app/src/scripts/dataset/mutations/create-anonymous-reviewer.tsx @@ -30,7 +30,7 @@ export const CreateReviewLink: FC = ({ datasetId }) => {
{error ? ( - "An Error Occured" + "An Error Occurred" ) : data ? ( diff --git a/services/datalad/datalad_service/common/git.py b/services/datalad/datalad_service/common/git.py index ea5bbae7e..49a526a02 100644 --- a/services/datalad/datalad_service/common/git.py +++ b/services/datalad/datalad_service/common/git.py @@ -14,9 +14,9 @@ class OpenNeuroGitError(Exception): """OpenNeuro git repo states that should not arise under normal use but may be a valid git operation in other contexts.""" -def git_show(path, commitish, obj): +def git_show(path, committish, obj): repo = pygit2.Repository(path) - commit, _ = repo.resolve_refish(commitish) + commit, _ = repo.resolve_refish(committish) data_bytes = (commit.tree / obj).read_raw() encoding = chardet.detect(data_bytes[0:4096])["encoding"] or 'utf-8' return data_bytes.decode(encoding)