Skip to content

Commit

Permalink
Remove Logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Peyton-McKee committed Jan 22, 2025
1 parent eb5ed0a commit 03827b1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/backend/src/services/users.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,6 @@ export default class UsersService {
});
if (!scheduleSettings) throw new HttpException(404, 'User Schedule Settings Not Found');

console.log('schedule: ', scheduleSettings);

return userScheduleSettingsTransformer(scheduleSettings);
}

Expand Down
1 change: 0 additions & 1 deletion src/backend/src/utils/users.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export const updateUserAvailability = async (
userSettings: Prisma.Schedule_SettingsGetPayload<UserScheduleSettingsQueryArgs>,
submitter: User
) => {
console.log(availabilities);
for (const availability of availabilities) {
if (availability.availability.some((time) => time < 0 || time > 11)) {
throw new HttpException(400, 'Availability times have to be in range 0-11');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const UserScheduleSettings = ({ user }: { user: User }) => {

const handleConfirm = async (payload: SetUserScheduleSettingsArgs) => {
setEdit(false);
console.log(payload);

try {
await updateUserScheduleSettings({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ const UserScheduleSettingsEdit: React.FC<UserScheduleSettingsEditProps> = ({
const [availabilities, setAvailabilities] = useState<Map<number, Availability>>(new Map());
const toast = useToast();

console.log('root', availabilities);

const onFormSubmit = (data: ScheduleSettingsFormInput) => {
if (data.personalZoomLink && data.personalZoomLink !== '') {
if (!data.personalZoomLink.startsWith('https://')) {
Expand Down Expand Up @@ -76,7 +74,6 @@ const UserScheduleSettingsEdit: React.FC<UserScheduleSettingsEditProps> = ({
});

const onAvailabilitySave = () => {
console.log('Saving', availabilities.values());
onSubmit({
availability: Array.from(availabilities.values()),
personalGmail: watch('personalGmail'),
Expand Down

0 comments on commit 03827b1

Please sign in to comment.