forked from jsnbuchanan/crowd-funder-for-time-pwa
change accessToken to take a DID
This commit is contained in:
@@ -348,8 +348,7 @@ export default class PhotoDialog extends Vue {
|
||||
this.blob = (await cropper?.getBlob()) || undefined;
|
||||
}
|
||||
|
||||
const identifier = await getIdentity(this.activeDid);
|
||||
const token = await accessToken(identifier);
|
||||
const token = await accessToken(this.activeDid);
|
||||
const headers = {
|
||||
Authorization: "Bearer " + token,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user