aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/lib/upload.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mobile/lib/upload.ts')
-rw-r--r--apps/mobile/lib/upload.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/mobile/lib/upload.ts b/apps/mobile/lib/upload.ts
index a9157d68..0eeab380 100644
--- a/apps/mobile/lib/upload.ts
+++ b/apps/mobile/lib/upload.ts
@@ -61,7 +61,12 @@ export function useUploadAsset(
const assetId = resp.assetId;
const assetType =
resp.contentType === "application/pdf" ? "pdf" : "image";
- createBookmark({ type: BookmarkTypes.ASSET, assetId, assetType });
+ createBookmark({
+ type: BookmarkTypes.ASSET,
+ assetId,
+ assetType,
+ source: "mobile",
+ });
},
onError: (e) => {
if (options.onError) {