forked from jsnbuchanan/crowd-funder-for-time-pwa
change accessToken to take a DID
This commit is contained in:
@@ -152,8 +152,7 @@ export default class SharedPhotoView extends Vue {
|
||||
let result;
|
||||
try {
|
||||
// send the image to the server
|
||||
const identifier = await getIdentity(this.activeDid as string);
|
||||
const token = await accessToken(identifier);
|
||||
const token = await accessToken(this.activeDid);
|
||||
const headers = {
|
||||
Authorization: "Bearer " + token,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user