made reject pqq by am api
This commit is contained in:
@@ -4,6 +4,8 @@ import {
|
||||
USER_STATUS,
|
||||
} from '@/common/utils/constants/common.constant';
|
||||
import {
|
||||
ACTIVITY_DISPLAY_STATUS,
|
||||
ACTIVITY_INTERNAL_STATUS,
|
||||
HOST_STATUS_DISPLAY,
|
||||
HOST_STATUS_INTERNAL,
|
||||
STEPPER,
|
||||
@@ -1221,4 +1223,16 @@ export class MinglarService {
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
async rejectPQQbyAM(user_xid: number, activityId: number) {
|
||||
return await this.prisma.activities.update({
|
||||
where: {
|
||||
id: activityId
|
||||
},
|
||||
data: {
|
||||
activityInternalStatus: ACTIVITY_INTERNAL_STATUS.REJECTED,
|
||||
activityDisplayStatus: ACTIVITY_DISPLAY_STATUS.REJECTED,
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user