about summary refs log tree commit diff
path: root/src/lib/api/index.ts
diff options
context:
space:
mode:
authorMinseo Lee <itoupluk427@gmail.com>2024-02-27 14:39:41 +0900
committerGitHub <noreply@github.com>2024-02-27 14:39:41 +0900
commit8d394a354114d5d6cacc79f60035a7a3d9629659 (patch)
tree5678ed30383917e01a9e0d4a01eb2b206d34aa73 /src/lib/api/index.ts
parent860b5307adf29e7f47e2ef6a84af1932929223b1 (diff)
parent58aaad704aa971c5ebbf5a5f330a2e2129b557f6 (diff)
downloadvoidsky-8d394a354114d5d6cacc79f60035a7a3d9629659.tar.zst
Merge branch 'main' into patch-3
Diffstat (limited to 'src/lib/api/index.ts')
-rw-r--r--src/lib/api/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/api/index.ts b/src/lib/api/index.ts
index 440dfa5ee..5fb7fe50e 100644
--- a/src/lib/api/index.ts
+++ b/src/lib/api/index.ts
@@ -104,18 +104,18 @@ export async function post(agent: BskyAgent, opts: PostOpts) {
 
   // add image embed if present
   if (opts.images?.length) {
-    logger.info(`Uploading images`, {
+    logger.debug(`Uploading images`, {
       count: opts.images.length,
     })
 
     const images: AppBskyEmbedImages.Image[] = []
     for (const image of opts.images) {
       opts.onStateChange?.(`Uploading image #${images.length + 1}...`)
-      logger.info(`Compressing image`)
+      logger.debug(`Compressing image`)
       await image.compress()
       const path = image.compressed?.path ?? image.path
       const {width, height} = image.compressed || image
-      logger.info(`Uploading image`)
+      logger.debug(`Uploading image`)
       const res = await uploadBlob(agent, path, 'image/jpeg')
       images.push({
         image: res.data.blob,