File tree 2 files changed +3
-3
lines changed
people/widgetViews/workspace
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ const ManageCodeSpaceModal: React.FC<CodeSpaceProps> = ({
105
105
const fetchCodeSpace = async ( ) => {
106
106
try {
107
107
const response = await main . getCodeSpace ( workspaceUUID ) ;
108
- if ( response && response . length > 0 ) {
109
- setCodeSpace ( response [ 0 ] ) ;
108
+ if ( response ) {
109
+ setCodeSpace ( response ) ;
110
110
} else {
111
111
setCodeSpace ( {
112
112
id : '' ,
Original file line number Diff line number Diff line change @@ -5059,7 +5059,7 @@ export class MainStore {
5059
5059
if ( ! uiStore . meInfo ) return null ;
5060
5060
const info = uiStore . meInfo ;
5061
5061
const response = await fetch (
5062
- `${ TribesURL } /codespace/workspaces/workspace/ ${ workspace_uuid } ` ,
5062
+ `${ TribesURL } /codespace/workspaces/${ workspace_uuid } /user/ ${ info . pubkey } ` ,
5063
5063
{
5064
5064
method : 'GET' ,
5065
5065
mode : 'cors' ,
You can’t perform that action at this time.
0 commit comments