mirror of
https://github.com/anatolykopyl/movieroom-front.git
synced 2026-03-26 12:55:20 +00:00
Moved api calls to api directory
This commit is contained in:
7
src/api/getRoom.ts
Normal file
7
src/api/getRoom.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import api from '@/api/index';
|
||||
|
||||
export default (id:String) => api.get('/room', {
|
||||
params: {
|
||||
id,
|
||||
},
|
||||
}).then((response) => response.data);
|
||||
Reference in New Issue
Block a user