Skip to content

[BUG] 沒有access token應該要可以看到/v1/popular-articles熱門文章列表 #244

@titaneric

Description

@titaneric

發生了什麼事? / The Problem

在不放入Access Token 的情況下 GET /v1/popular-articles 應該出現熱門文章列表,上限為 100 個文章。但是回傳空列表。

如何重現 / To Reproduce

  1. curl http:localhost:8081/v1/popular-articles
  2. 回傳空列表

預期的行為 / Expected behavior

應該要回傳熱門文章列表

螢幕截圖 / Screenshots

image

開發環境 / Environment

  1. OS: Windows 10 and WSL 2 Ubuntu 20.04
  2. Go version v1.16.5

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