mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
feat: use session access_tokens
This commit is contained in:
parent
08cc97f557
commit
52f2235942
74 changed files with 413 additions and 440 deletions
|
|
@ -23,7 +23,6 @@ export async function deleteCollection(
|
|||
|
||||
// Create a new collection
|
||||
export async function createCollection(collection: any, access_token: any) {
|
||||
console.log(collection)
|
||||
const result: any = await fetch(
|
||||
`${getAPIUrl()}collections/`,
|
||||
RequestBodyWithAuthHeader('POST', collection, null, access_token)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue