Skip to content

GET /events/query 的 locationId 改為 type Array #10

@amliu

Description

@amliu

目前 queryEvents() 的 locationId 是一個 string,
未來月曆應該是一次顯示多個地點的物資,
也可能在特殊頁面 (ex. admin page ) 有 filter 功能,
所以將 locationId 改為 Array 會是比較彈性的作法。
若沒給 locationId (null or []),
則是返回所有地點的事件

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions