3box / 3box/3box-api

Box.getSpace(address, spaceName, opts) with metaData opts passed returns null timestamp

未关闭
#26 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug dontclose
主要语言
JavaScript
星标
2
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

I'm pretty sure this was working when it was implemented into the Hub app.
Now, hitting this end point with `const opts = {metadata: true };` returns an object with `timestamp` value as null (value of key is correctly returned, however).

Expect:
```
{
value: ,
timestamp:

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look for the Box.getSpace method in the codebase, likely in a file handling API endpoints or the Box class. Examine how metadata options are processed and where the timestamp is retrieved. Check database queries or storage layer to ensure the timestamp field is being fetched correctly. Verify the issue by writing a test that reproduces the null timestamp with metadata: true.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, node.js
领域
api, backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。