Skip to content

Commit

Permalink
removed sketch
Browse files Browse the repository at this point in the history
  • Loading branch information
vilnor committed May 26, 2024
1 parent 8e4c03e commit adc887d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 328 deletions.
9 changes: 3 additions & 6 deletions backend/src/routes/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import { getUserRole, postUser } from './users';

import { EVAN, healthCheck } from './health';

import { setupData } from './sketch';
import { getRecentChanges } from './recentChanges';
import multer from 'multer';

Expand All @@ -46,8 +45,6 @@ router.put('/questions/:questionId/edit', <any>multer().single('questionPNG'), e
// Edits a comment
router.put('/comments/:commentId/edit', <any>multer().single('commentPNG'), editComments);

router.get('/recent_changes', getRecentChanges);

/*
* Patches
* =======
Expand Down Expand Up @@ -105,6 +102,9 @@ router.post('/courses', postCourse);
*
*/

// Gets recent changes
router.get('/recent_changes', getRecentChanges);

// Gets a user's role
router.get('/users/:userId/role', getUserRole);

Expand Down Expand Up @@ -139,6 +139,3 @@ router.get('/health', healthCheck);

// Evan's Routes
router.get('/Evan', EVAN);

// The sketch route
router.get('/sketch', setupData);
322 changes: 0 additions & 322 deletions backend/src/routes/sketch.ts

This file was deleted.

0 comments on commit adc887d

Please sign in to comment.