Skip to content

Commit

Permalink
fix lint problems
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdipourfar committed Jan 5, 2021
1 parent e361ab6 commit 67a51ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ var (

ErrorMethodNotAllowed = []byte(`{"error": "Method not allowed"}`)
ErrorImageNotProvided = []byte(`{"error": "image_file field not provided"}`)
ErrorFileIsNotImage = []byte(`{"error": "Provided file is not an accepted image"}`)
ErrorInvalidToken = []byte(`{"error": "Invalid Token"}`)
ErrorFileIsNotImage = []byte(`{"error": "Provided file is not an accepted image"}`)
ErrorInvalidToken = []byte(`{"error": "Invalid Token"}`)
ErrorImageNotFound = []byte(`{"error": "Image not found"}`)
ErrorAddressNotFound = []byte(`{"error": "Address not found"}`)
ErrorServerError = []byte(`{"error": "Internal Server Error"}`)
ErrorServerError = []byte(`{"error": "Internal Server Error"}`)

// This variable makes us be able to mock convert function in tests
convertFunction = convert
Expand Down

0 comments on commit 67a51ee

Please sign in to comment.