Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created May 20, 2022 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardgrantserverless/2c5f46f84632b6a52e70dbb295992a9d to your computer and use it in GitHub Desktop.
Save richardgrantserverless/2c5f46f84632b6a52e70dbb295992a9d to your computer and use it in GitHub Desktop.
class ResizerHandler {
constructor(){ }
async process(event) {
const { size, image } = event.pathParameters
return await this.resize(size, image)
}
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment