Skip to content

Commit

Permalink
Merge pull request #92 from Giveth/Remove-Admin-Column-that-was-Depre…
Browse files Browse the repository at this point in the history
…cated

Remove Admin Column that was Deprecated
  • Loading branch information
RamRamez authored May 14, 2024
2 parents c0b2959 + e7c85c8 commit 02f7a69
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions src/routes/v1/notificationRouter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,6 @@ function sendNotificationTestCases() {
email: '[email protected]',
title: 'How many photos is too many photos?',
firstName: 'firstName',
projectOwnerId: '68',
slug: 'how-many-photos-is-too-many-photos',
amount: 0.0001,
transactionId: generateRandomTxHash(),
Expand Down Expand Up @@ -1428,7 +1427,6 @@ function sendNotificationTestCases() {
email: '[email protected]',
title: 'How many photos is too many photos?',
firstName: 'firstName',
projectOwnerId: '68',
slug: 'how-many-photos-is-too-many-photos',
amount: 0.0001,
transactionId: generateRandomTxHash(),
Expand Down Expand Up @@ -1497,7 +1495,6 @@ function sendNotificationTestCases() {
email: '[email protected]',
title: 'How many photos is too many photos?',
firstName: 'firstName',
projectOwnerId: '68',
slug: 'how-many-photos-is-too-many-photos',
amount: 0.0001,
transactionId: generateRandomTxHash(),
Expand Down Expand Up @@ -1538,7 +1535,6 @@ function sendNotificationTestCases() {
email: '[email protected]',
title: 'How many photos is too many photos?',
firstName: 'firstName',
projectOwnerId: '68',
slug: 'how-many-photos-is-too-many-photos',
amount: 0.0001,
transactionId: generateRandomTxHash(),
Expand Down
1 change: 0 additions & 1 deletion src/utils/validators/segmentAndMetadataValidators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const donationTrackerSchema = Joi.object({
firstName: Joi.string().allow(null, ''),
lastName: Joi.string().allow(null, ''),
userId: Joi.number(),
projectOwnerId: Joi.string().allow(null, ''),
slug: Joi.string().allow(null, ''),
projectLink: Joi.string().allow(null, ''),
amount: Joi.number()?.greater(0).required(),
Expand Down
1 change: 0 additions & 1 deletion src/validators/schemaValidators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const sendNotificationValidator = Joi.object({
projectLink: Joi.string().allow(null).allow(''),

// Donation related attributes
projectOwnerId: Joi.string(),
amount: Joi.number(),
token: Joi.string().allow(null, ''),
transactionId: Joi.string(),
Expand Down

0 comments on commit 02f7a69

Please sign in to comment.