Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Admin Column that was Deprecated #92

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading