mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: UI bugs
This commit is contained in:
parent
360c6b1e1a
commit
dc1673c053
4 changed files with 21 additions and 17 deletions
|
|
@ -7,7 +7,7 @@ import {
|
|||
|
||||
export async function createAssignment(body: any, access_token: string) {
|
||||
const result: any = await fetch(
|
||||
`${getAPIUrl()}assignments`,
|
||||
`${getAPIUrl()}assignments/`,
|
||||
RequestBodyWithAuthHeader('POST', body, null, access_token)
|
||||
)
|
||||
const res = await getResponseMetadata(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue