Skip to content

Commit

Permalink
Typos spotted by @ocdtrekkie
Browse files Browse the repository at this point in the history
  • Loading branch information
kentonv committed Feb 27, 2017
1 parent 7658292 commit 60d3b87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shell/packages/sandstorm-db/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ ApiTokens = new Mongo.Collection("apiTokens", collectionOptions);
// identity: An Identity capability. The field is the identity ID.
// http: An ApiSession capability pointing to an external HTTP service. Object containing:
// url: Base URL of the external service.
// auth: Authentitation mechanism. Object containing one of:
// auth: Authentication mechanism. Object containing one of:
// none: Value "null". Indicates no authorization.
// bearer: A bearer token to pass in the `Authorization: Bearer` header on all
// requests. Encrypted with nonce 0.
Expand Down
2 changes: 1 addition & 1 deletion shell/server/drivers/external-ui-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ function registerHttpApiFrontendRef(registry) {
if ("none" in request.auth) {
request.auth = { bearer: parsedUrl.hash.slice(1) };
} else {
throw new Meteor.Error(400, "Can't supprot multiple authentication mechanisms at once");
throw new Meteor.Error(400, "Can't support multiple authentication mechanisms at once");
}

parsedUrl.hash = null;
Expand Down

0 comments on commit 60d3b87

Please sign in to comment.