Merge pull request #7 from Discours/minor-fixes

minor fixes
This commit is contained in:
Igor Lobanov 2022-09-19 10:53:52 +02:00 committed by GitHub
commit eb87571524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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
})