Skip to content

Commit

Permalink
chore: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 21, 2021
1 parent 59cb292 commit c17d230
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"process": "^0.11.10",
"readable-stream": "^3.6.0",
"sade": "^1.7.4",
"smoke": "^3.1.1",
"supabase": "^0.5.0"
"smoke": "^3.1.1"
}
}
4 changes: 2 additions & 2 deletions packages/api/src/routes-v1/nfts-upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export async function uploadV1(event, ctx) {
upload = await db.createUpload({
account_id: user.id,
content_cid: cid,
source_cid: cid, // TODO need cidv1/0 dedupe
source_cid: cid,
key_id: key?.id,
dag_size: size,
mime_type: contentType,
Expand Down Expand Up @@ -81,7 +81,7 @@ export async function uploadV1(event, ctx) {
mime_type: content.type,
type: isCar ? 'Car' : 'Blob',
content_cid: cid,
source_cid: cid, // TODO need cidv1/0 dedupe,
source_cid: cid,
dag_size: dagSize,
account_id: user.id,
files: [],
Expand Down
1 change: 0 additions & 1 deletion packages/client/src/lib/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export interface Service {

export interface PublicService {
endpoint: URL
version?: string
}

/**
Expand Down
4 changes: 0 additions & 4 deletions packages/website/pages/manage.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ export default function ManageKeys({ user }) {
e.preventDefault()
const data = new FormData(e.target)
const name = data.get('name')
console.log(
'🚀 ~ file: manage.js ~ line 50 ~ handleDeleteToken ~ name',
name
)
if (name && typeof name === 'string') {
if (!confirm('Are you sure? Deleted keys cannot be recovered!')) {
return
Expand Down

0 comments on commit c17d230

Please sign in to comment.