Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
✏️ Remove unused const keyword (#398)
Browse files Browse the repository at this point in the history
* ✏️ Remove unused const keyword

* ✏️ Fix typo on file uploads error examples
  • Loading branch information
PoorlyDefinedBehaviour authored and RomainLanz committed Jan 22, 2020
1 parent 6c8e758 commit be93947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 05-Security/02-Authentication.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ Assuming the user is logged in using the `session` authenticator, we can generat
// loggedin user via sessions
const user = auth.user
const auth
auth
.authenticator('jwt')
.generate(user)
----
Expand Down
2 changes: 1 addition & 1 deletion 06-Digging-Deeper/03-File-Uploads.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ When upload validation fails, the link:https://github.com/adonisjs/adonis-bodypa

NOTE: The link:https://github.com/adonisjs/adonis-bodyparser/blob/develop/src/Multipart/FileJar.js[FileJar, window="_blank"] `errors` method returns an *array* of errors.

Are few example error objects are listed below.
A few example error objects are list below.

==== Type error

Expand Down

0 comments on commit be93947

Please sign in to comment.