tanstake-table add remove, update function
This commit is contained in:
@@ -9,7 +9,6 @@ const API_BASE_URL = process.env.NODE_ENV === 'development'
|
||||
|
||||
export async function getUserFilesData() {
|
||||
const token = await getSessionData('token');
|
||||
console.log('fetch');
|
||||
|
||||
try {
|
||||
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
|
||||
@@ -48,7 +47,6 @@ export async function getUserFilesData() {
|
||||
|
||||
export async function removeUserFile(fileId : string) {
|
||||
const token = await getSessionData('token');
|
||||
console.log('remove');
|
||||
|
||||
try {
|
||||
const response = await fetch(`${API_BASE_URL}/api/v1/data`, {
|
||||
|
||||
Reference in New Issue
Block a user