Skip to content

Commit

Permalink
Fix: Get post query
Browse files Browse the repository at this point in the history
  • Loading branch information
318097 committed Mar 11, 2021
1 parent 0c38318 commit 828b44a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions functions/get-posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ exports.handler = async (event) => {
const aggregation = {
collectionId,
deleted: false,
isAdmin: true,
status: "POSTED",
visible: true,
};

Expand Down
2 changes: 1 addition & 1 deletion functions/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ exports.handler = async (event) => {
} catch (err) {
console.log(err);
return {
statusCode: 200,
statusCode: 500,
body: err.message,
headers,
};
Expand Down

0 comments on commit 828b44a

Please sign in to comment.