rename api routes files to clarify
This commit is contained in:
parent
c1a0ea3aef
commit
65b5409b0b
|
|
@ -1,6 +1,6 @@
|
||||||
import getPosts from './posts';
|
import getPosts from './getPosts';
|
||||||
import postPost from './new';
|
import postPost from './newPost';
|
||||||
import putPost from './edit';
|
import putPost from './editPost';
|
||||||
import { Router } from 'express';
|
import { Router } from 'express';
|
||||||
|
|
||||||
const posts = Router();
|
const posts = Router();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue