rename api routes files to clarify

This commit is contained in:
Guillaume Dorce 2022-08-25 15:50:58 +02:00
parent c1a0ea3aef
commit 65b5409b0b
5 changed files with 3 additions and 3 deletions

View File

View File

@ -1,6 +1,6 @@
import getPosts from './posts';
import postPost from './new';
import putPost from './edit';
import getPosts from './getPosts';
import postPost from './newPost';
import putPost from './editPost';
import { Router } from 'express';
const posts = Router();