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