Skip to content

Commit

Permalink
fix plugin is compatible (#1327)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thykof committed Jan 23, 2024
1 parent e6b206f commit 575fd4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/swagger/server/restapi/resource/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ definitions:
type: string
massastationMinVersion:
type: string
iscompatible:
isCompatible:
type: boolean
file:
$ref: '#/definitions/File'
Expand Down
2 changes: 1 addition & 1 deletion int/api/pluginstore/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (l *list) Handle(_ operations.GetPluginStoreParams) middleware.Responder {
Checksum: &checksum,
},
Os: os,
Iscompatible: plugin.IsCompatible,
IsCompatible: plugin.IsCompatible,
}
}

Expand Down
4 changes: 2 additions & 2 deletions web/massastation/src/pages/Store/StoreSection/StorePlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function StorePlugin(props: StorePluginProps) {
description,
file: { url },
version,
isCompatible: isCompatible,
isCompatible,
massastationMinVersion,
} = plugin;

Expand All @@ -32,7 +32,7 @@ function StorePlugin(props: StorePluginProps) {
mutate,
isSuccess: isInstallSuccess,
isLoading: isInstallLoading,
} = usePost(`plugin-manager`);
} = usePost('plugin-manager');

const params = { source: url };

Expand Down

0 comments on commit 575fd4b

Please sign in to comment.