Skip to content

Version 可以被修改导致 update 出错 #7

@z0z0r4

Description

@z0z0r4

ul9OslWB 中的 game_versions 字段在 2025-01-01T06:17:52 时是 ['1.18', '1.18.1', '1.18.2', '1.19', '1.19.1', '1.19.2', '1.19.3', '1.19.4', '1.20', '1.20.1', '1.20.2', '1.20.3', '1.20.4', '1.20.5', '1.20.6', '1.21', '1.21.1']

到了现在是 ['1.18', '1.18.1', '1.18.2', '1.19', '1.19.1', '1.19.2', '1.19.3', '1.19.4', '1.20', '1.20.1', '1.20.2', '1.20.3', '1.20.4', '1.20.5', '1.20.6', '1.21', '1.21.1', '1.21.2', '1.21.3', '1.21.4']

这直接导致 update 接口无法匹配 game_versions

这种修改不会改动 project 的 "updated": "2024-09-22T08:56:20.263000" 字段...

这意味着如果要解决这种情况,必须舍弃当前的已有 Mod 刷新逻辑,无视 updated 字段,强制遍历所有 Mod 的版本列表

需要考量下取舍,看看咋写同步策略吧0..

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions