mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 19:11:29 +00:00
Update MediaUploadApi.ts
this endpoint can't be served via the default hostname
This commit is contained in:
1 parent
3a564c70e0
commit
3b60db68c2
1 file changed
+1
-1
@@ -38,7 +38,7 @@ export class MediaUploadApi extends ApiManager {
|
||||
maybe_visibility?: Visibility;
|
||||
}): Promise<ApiResponse<string>> {
|
||||
// This function is a bit special it requires that
|
||||
const endpoint = `${this.getApiSchemeAndHost()}/v1/media_files/upload/studio_shot`;
|
||||
const endpoint = `${this.ApiTargets.uploadApi}/v1/media_files/upload/studio_shot`;
|
||||
|
||||
if (!this.sessionToken) {
|
||||
console.log("Session Token");
|
||||
|
||||
Reference in new issue
Block a user