Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
derneuere committed Jul 22, 2024
1 parent 335241d commit 01ac916
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Store/Upload/UploadSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { api } from '../api'
import { FileSystem } from 'react-native-file-access'
import ReactNativeBlobUtil from 'react-native-blob-util'
import Server from '../../Services'
import CookieManager from '@react-native-cookies/cookies'
import { localImageSynced } from '../LocalImages/LocalImagesSlice'

/**
Expand Down Expand Up @@ -161,8 +160,6 @@ const uploadChunk = async (
if (uploadId) {
formData.append('upload_id', uploadId)
}
// To-Do: cookies should be in server file
const cookies = await CookieManager.get(baseurl)

formData.append('file', {
uri: 'file://' + chunk._ref,
Expand Down

0 comments on commit 01ac916

Please sign in to comment.