Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to set up resources #3494

Closed
JakeLaoyu opened this issue Jun 1, 2024 · 1 comment · Fixed by #3600
Closed

Failed to set up resources #3494

JakeLaoyu opened this issue Jun 1, 2024 · 1 comment · Fixed by #3600
Labels
bug Something isn't working Stale

Comments

@JakeLaoyu
Copy link
Contributor

JakeLaoyu commented Jun 1, 2024

Describe the bug

I use curl to set the file resource, but it doesn't seem to take effect.

image

Steps to reproduce

curl --location --request PATCH 'http://127.0.0.1:5230/api/v1/memos/54/resources' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsImtpZCI6InYxIiwidHlwIjoiSldUIn0.eyJuYW1lIjoiIiwiaXNzIjoibWVtb3MiLCJzdWIiOiIxIiwiYXVkIjpbInVzZXIuYWNjZXNzLXRva2VuIl0sImV4cCI6NDg3MDgxOTk1MSwiaWF0IjoxNzE3MjE5OTUxfQ.Wa5Cz5DA1Yj9WO3iOP6aI_KcD1l3yoDOKrbn0QjW1qI' \
--header 'Content-Type: application/json' \
--data '{
    "resources": [
    {
    "name": "resources/33",
    "uid": "kRYrPznrSK64SBfJpMXpq9",
    "createTime": "2024-06-01T08:32:37Z",
    "filename": "16pic_8925252_b.jpg",
    "content": "",
    "externalLink": "",
    "type": "image/jpeg",
    "size": "204070"
}
]
}'

The version of Memos you're using

0.22.0

Screenshots or additional context

No response

@JakeLaoyu JakeLaoyu added the bug Something isn't working label Jun 1, 2024
JakeLaoyu referenced this issue in raycast/extensions Jun 1, 2024
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
@github-actions github-actions bot added the Stale label Jun 15, 2024
@JakeLaoyu
Copy link
Contributor Author

@boojack When will it be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant