forked from trent_larson/crowd-funder-for-time-pwa
change accessToken to take a DID
This commit is contained in:
@@ -1432,11 +1432,7 @@ export default class AccountViewView extends Vue {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const identity = await this.getIdentity(this.activeDid);
|
||||
if (!identity) {
|
||||
throw Error("No identity found.");
|
||||
}
|
||||
const token = await accessToken(identity);
|
||||
const token = await accessToken(this.activeDid);
|
||||
const response = await this.axios.delete(
|
||||
DEFAULT_IMAGE_API_SERVER +
|
||||
"/image/" +
|
||||
|
||||
Reference in New Issue
Block a user