1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

refactor: replace interface{} with any

This commit is contained in:
Frédéric Guillot 2025-08-05 20:21:28 -07:00
parent 045f2f1747
commit 80f48c88c7
12 changed files with 26 additions and 26 deletions

View file

@ -74,10 +74,10 @@ func NewClient(apiToken string, apiEndpoint string) Client {
}
func (c *client) SaveUrl(url string) error {
var payload = map[string]interface{}{
var payload = map[string]any{
"query": mutation,
"variables": map[string]interface{}{
"input": map[string]interface{}{
"variables": map[string]any{
"input": map[string]any{
"clientRequestId": crypto.GenerateUUID(),
"source": "api",
"url": url,