Adds proper error return to stuff involving upload links
All checks were successful
Tests / Tests (pull_request) Successful in 10s

This commit is contained in:
2024-08-16 16:28:45 -07:00
parent dabaa3d1e1
commit 3b29502e7e
4 changed files with 289 additions and 46 deletions

View File

@@ -1,9 +1,20 @@
mutation getProfileImageUploadLink($fileExt: String = ".png") {
getProfileImageUploadLink(fileExt: $fileExt) {
uploadUrl
headers {
key
value
value {
... on UploadLink {
uploadUrl
headers {
key
value
}
}
... on GetUploadLinkErrors {
error {
... on TooManyProfileImageUploadsErr {
linksRequested
}
}
}
}
}
}