Closed SaaammmyyyS closed 3 weeks ago
Also, I have some troubles on JWT Access Token when uploading pdf to storage files.
I'm using buckets for pdf storages, but for some reason I need to login I think any fix on allowing me to save to supabase bucket storage?
Here's the code for storage uploads and where I get the error
Unit test problem fix has been commit added here in this commit 0b82803f2242084cdde3e83d616f0c33e37011e0
Problem fix on authentication, my bad on being inexperience
Fix: just used Service key for full admin to be able to use the storage :DD
Pinging backend dev @SaaammmyyyS
@khesir Since ivan is the backend head, make sure you set him as the reviewer of the PR. Afterwards, to ensure that he'll 100% see your PR, send a message to the GC to have it checked
Oops! I just realized you guys were communicating through the PRs
Pinging backend dev @SaaammmyyyS
@khesir Since ivan is the backend head, make sure you set him as the reviewer of the PR. Afterwards, to ensure that he'll 100% see your PR, send a message to the GC to have it checked
Actually, we were figuring out how pr works and we might did or me did some unnecessary pr and close it :DD
Will never do it again
Pinging backend dev @SaaammmyyyS @khesir Since ivan is the backend head, make sure you set him as the reviewer of the PR. Afterwards, to ensure that he'll 100% see your PR, send a message to the GC to have it checked
Actually, we were figuring out how pr works and we might did or me did some unnecessary pr and close it :DD
Will never do it again
It's totally fine dont worry, as long as you're learning something :^)
Description: Create a new bulletin with optional PDF attachment.
Requirements:
Validation:
category_id
: Required, must be a valid integer and exist in categories.title
: Requiredpdf_attachment
: Optional, if provided, should be a valid file.content
: Required, should be a text string.author
: Required, non-empty string.Request Body:
{ "category_id": "integer", "title": "string", "content": "text", "author": "string", "pdf_attachment": "file" }