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

Commit

Permalink
Merge pull request #557 from apoclyps/use-shared-event-schema
Browse files Browse the repository at this point in the history
Use shared event schema module
  • Loading branch information
alistairjcbrown authored Nov 9, 2018
2 parents 331eecd + c591c1b commit cf730b9
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 780 deletions.
259 changes: 0 additions & 259 deletions lambdas/eventbrite/handlers/schemas/event-schema.json

This file was deleted.

2 changes: 1 addition & 1 deletion lambdas/eventbrite/handlers/transformer.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";

const eventSchema = require("@muxer/event-schema");
const { getFromS3 } = require("aws-lambda-data-utils");
const { validate } = require("jsonschema");
const eventSchema = require("./schemas/event-schema");
const { buckets } = require("../config");
const { uploadTo } = require("../utils");

Expand Down
5 changes: 5 additions & 0 deletions lambdas/eventbrite/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lambdas/eventbrite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"private": true,
"dependencies": {
"@muxer/event-schema": "^1.0.0",
"aws-lambda-data-utils": "^1.0.0",
"jsonschema": "^1.2.4"
}
Expand Down
Loading

0 comments on commit cf730b9

Please sign in to comment.