Skip to content

Commit 3a146b5

Browse files
chore: wip
1 parent 3fd29c0 commit 3a146b5

File tree

2 files changed

+2
-2
lines changed
  • storage/framework

2 files changed

+2
-2
lines changed

storage/framework/.stacks/core/api/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function useHttpFetch(endpoint = '') {
5757
const parameters: FetchParams = {
5858
...params,
5959
...{
60-
headers: { Accept: 'application/json', Authorization: `Bearer ${token.value}` },
60+
headers: { Accept: 'application/json' },
6161
parseResponse: JSON.parse,
6262
method: 'GET',
6363
baseURL,

storage/framework/stacks/dashboard/src/stores/git.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const useGitStore = defineStore('git', {
3333

3434
fetch.setToken(token)
3535

36-
const response = await fetch.get(`actions/workflows/27396595/runs?per_page=${numberOfCommits}`)
36+
const response = await fetch.get(`/actions/runs?per_page=${numberOfCommits}`)
3737

3838
this.workflowRuns = response.workflow_runs
3939
}

0 commit comments

Comments
 (0)