File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ const DemoCards = ({uploadFiles,closeGallery=()=>{}})=>{
10
10
11
11
useEffect ( ( ) => {
12
12
// get all the subDirectory url from Github
13
- const owner = 'Lin064 ' ;
14
- const repo = 'PL-Profiles ' ;
15
- const path = '' ;
16
- const branch = 'main ' ;
17
- const githubApiUrl = `https://api.github.com/repos/${ owner } /${ repo } /contents/${ path } ?ref=${ branch } ` ;
13
+ const owner = 'planimation ' ;
14
+ const repo = 'documentation ' ;
15
+ const path = 'AnimationProfiles ' ;
16
+ const branch = 'master ' ;
17
+ const githubApiUrl = `https://api.github.com/repos/${ owner } /${ repo } /contents/${ path } ?ref=${ branch } ` ;
18
18
19
19
axios . get ( githubApiUrl , {
20
20
headers :{
21
-
21
+ Authorization : `token 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`
22
22
}
23
23
} )
24
24
. then ( response => {
@@ -55,4 +55,4 @@ const DemoCards = ({uploadFiles,closeGallery=()=>{}})=>{
55
55
</ >
56
56
)
57
57
}
58
- export default DemoCards ;
58
+ export default DemoCards ;
You can’t perform that action at this time.
0 commit comments