minor fixes

This commit is contained in:
Igor Lobanov 2022-09-19 10:52:26 +02:00
parent b3a671623a
commit d7daffdfd0
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
name: CI
on: [pull_request]
on: [push, pull_request]
jobs:
build:

View File

@ -9,7 +9,7 @@
"codegen": "graphql-codegen",
"deploy": "graphql-codegen && npm run typecheck && astro build && vercel",
"dev": "astro dev",
"ffix": "npm run lint:code:fix && npm run lint:styles:fix && npm run format",
"ffix": "npm run fix && npm run format",
"fix": "npm run lint:code:fix && npm run lint:styles:fix",
"format": "npx prettier \"{,!(node_modules)/**/}*.{js,ts,tsx,json,scss,css}\" --write --ignore-path .gitignore",
"lint": "npm run lint:code && npm run lint:styles",

View File

@ -99,7 +99,7 @@ export default (props: { code?: string; mode?: string }) => {
setError(t('Passwords are not equal'))
} else {
// FIXME use store actions
const r = await apiClient.signUp({
const r = await apiClient.authRegiser({
email: emailElement?.value,
password: passElement?.value
})