rename api routes files to clarify
This commit is contained in:
parent
c1a0ea3aef
commit
65b5409b0b
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue