Skip to content

Commit

Permalink
chore: removed unused stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bjblazko committed Dec 21, 2023
1 parent be8124a commit 89b44aa
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 99 deletions.
31 changes: 0 additions & 31 deletions src/main/kotlin/net/phexpedition/Api.kt

This file was deleted.

26 changes: 0 additions & 26 deletions src/main/kotlin/net/phexpedition/GreetingResource.kt

This file was deleted.

16 changes: 0 additions & 16 deletions src/main/resources/META-INF/resources/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ function decodeJwtPayload(jwt) {
return decodedJwtPayload
}

function api(idToken) {
let apiUrl = `${config.baseUrl}/api2`//"https://api-yr4f3nxarq-ew.a.run.app"

fetch(apiUrl, {
method: 'GET',
headers: {
'Authorization': `Bearer ${idToken}`,
'Content-Type': 'application/json',
'Accept': 'application/json'
}
}).then((response) => response.json())
.then((data) => {
console.log(data)
console.log(`Name: ${data.jwt}`)
})
}

function apiUser() {
let apiUrl = `${config.baseUrl}/api/user/_me`
Expand Down
6 changes: 0 additions & 6 deletions src/test/kotlin/net/phexpedition/GreetingResourceIT.kt

This file was deleted.

20 changes: 0 additions & 20 deletions src/test/kotlin/net/phexpedition/GreetingResourceTest.kt

This file was deleted.

0 comments on commit 89b44aa

Please sign in to comment.