Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jabbate19 committed Oct 13, 2024
1 parent 362f593 commit 73a35bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
run: cargo fmt --check

frontend-lint:
name: Frontend Lint/Format Chechk
name: Frontend Lint/Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/src/components/UserSelectSearch.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<h6><span class="badge badge-secondary" v-for="user in users">{{ user }}<span>&times;</span></span></h6>
<h6><span class="badge badge-secondary" v-for="user in users" :key="user">{{ user }}<span>&times;</span></span></h6>
</div>
<input
type="text"
Expand Down Expand Up @@ -60,7 +60,7 @@ export default defineComponent({
const popupStore = usePopupStore();
try {
const response = await fetch(
`/api/v1/chom`
`/api/v1/chom?search=${value}`
);
if (!response.ok) {
popupStore.addPopup(
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ async fn main() -> std::io::Result<()> {
}))
.wrap(
SessionMiddleware::builder(CookieSessionStore::default(), session_key.clone())
.cookie_secure(!env::var("DEVELOPMENT").is_ok())
.cookie_secure(env::var("DEVELOPMENT").is_err())
.build(),
)
.wrap(Logger::default())
Expand Down

0 comments on commit 73a35bb

Please sign in to comment.