Compare commits
2 Commits
2140a63add
...
7779f794e4
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | 7779f794e4 | |
Derrick Hammer | 2402d3e076 |
|
@ -19,7 +19,7 @@ export default class UppyFileUpload extends BasePlugin {
|
|||
}
|
||||
|
||||
install() {
|
||||
this.uppy.addUploader(this.handleUpload);
|
||||
this.uppy.addUploader(this.handleUpload.bind(this));
|
||||
}
|
||||
|
||||
private async handleUpload(fileIDs: string[]) {
|
||||
|
|
|
@ -76,6 +76,7 @@ export class PortalAuthProvider implements RequiredAuthProvider {
|
|||
if (!redirectTo) {
|
||||
redirectTo = ret ? "/dashboard" : "/login";
|
||||
}
|
||||
this._sdk.setAuthToken(this._sdk.account().jwtToken);
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue