Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Remove comments, run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEgghead27 committed Dec 28, 2023
1 parent 51dce5f commit 9ed67b9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions src/database/migrations/20231228020436-isFaculty-forbid-null.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,13 @@

module.exports = {
up: async (queryInterface, Sequelize) => {
/**
* Add altering commands here.
*
* Example:
* await queryInterface.createTable('users', { id: Sequelize.INTEGER });
*/
await queryInterface.changeColumn('users', 'isFaculty', {
type: Sequelize.DataTypes.BOOLEAN,
allowNull: false
});
},

down: async (queryInterface, Sequelize) => {
/**
* Add reverting commands here.
*
*
* Example:
* await queryInterface.dropTable('users');
*/
await queryInterface.changeColumn('users', 'isFaculty', {
type: Sequelize.DataTypes.BOOLEAN,
allowNull: true
Expand Down
2 changes: 1 addition & 1 deletion src/graphql/resolvers/Mutation/createMembershipRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default async (
organizationId: org.id
}
});

if (alreadySubmitted) {
throw new ForbiddenError(
'You have already submitted a request to join this organization'
Expand Down

0 comments on commit 9ed67b9

Please sign in to comment.