Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
tipuloidea
/
front_back
/
workspace
/
Gitep-front
/
src
/
shared
/
api
:
getPayments.ts
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
import { axiosInstance } from "@shared/api"; export const getPayments = async (userId: string) => { try { const result = await axiosInstance.get(`/payments?user_id=${userId}`); console.log('result', result) return result; } catch { throw new Error(); } };