mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
More logging changes
This commit is contained in:
parent
b438d42f38
commit
e3ed7d0250
1 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,6 @@ export function uploadServiceRouter() {
|
|||
const router = express.Router()
|
||||
|
||||
router.post('/:folder', async (req, res) => {
|
||||
logger.info('upload data to folder', req.params.folder)
|
||||
const { message: msgStr, expired } = readPushSubscription(req)
|
||||
|
||||
if (!msgStr) {
|
||||
|
|
@ -38,7 +37,7 @@ export function uploadServiceRouter() {
|
|||
data.userId
|
||||
}/${DateTime.now().toFormat('yyyy-LL-dd')}/${uuidv4()}.json`
|
||||
|
||||
logger.info('uploading data to', filePath)
|
||||
logger.info('uploading data to', { filePath })
|
||||
await uploadToBucket(
|
||||
filePath,
|
||||
Buffer.from(msgStr, 'utf8'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue